]> Git Repo - J-linux.git/commitdiff
Merge tag 'net-6.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
authorLinus Torvalds <[email protected]>
Thu, 24 Oct 2024 23:43:50 +0000 (16:43 -0700)
committerLinus Torvalds <[email protected]>
Thu, 24 Oct 2024 23:43:50 +0000 (16:43 -0700)
Pull networking fixes from Paolo Abeni:
 "Including fixes from netfiler, xfrm and bluetooth.

  Oddly this includes a fix for a posix clock regression; in our
  previous PR we included a change there as a pre-requisite for
  networking one. That fix proved to be buggy and requires the follow-up
  included here. Thomas suggested we should send it, given we sent the
  buggy patch.

  Current release - regressions:

   - posix-clock: Fix unbalanced locking in pc_clock_settime()

   - netfilter: fix typo causing some targets not to load on IPv6

  Current release - new code bugs:

   - xfrm: policy: remove last remnants of pernet inexact list

  Previous releases - regressions:

   - core: fix races in netdev_tx_sent_queue()/dev_watchdog()

   - bluetooth: fix UAF on sco_sock_timeout

   - eth: hv_netvsc: fix VF namespace also in synthetic NIC
     NETDEV_REGISTER event

   - eth: usbnet: fix name regression

   - eth: be2net: fix potential memory leak in be_xmit()

   - eth: plip: fix transmit path breakage

  Previous releases - always broken:

   - sched: deny mismatched skip_sw/skip_hw flags for actions created by
     classifiers

   - netfilter: bpf: must hold reference on net namespace

   - eth: virtio_net: fix integer overflow in stats

   - eth: bnxt_en: replace ptp_lock with irqsave variant

   - eth: octeon_ep: add SKB allocation failures handling in
     __octep_oq_process_rx()

  Misc:

   - MAINTAINERS: add Simon as an official reviewer"

* tag 'net-6.12-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (40 commits)
  net: dsa: mv88e6xxx: support 4000ps cycle counter period
  net: dsa: mv88e6xxx: read cycle counter period from hardware
  net: dsa: mv88e6xxx: group cycle counter coefficients
  net: usb: qmi_wwan: add Fibocom FG132 0x0112 composition
  hv_netvsc: Fix VF namespace also in synthetic NIC NETDEV_REGISTER event
  net: dsa: microchip: disable EEE for KSZ879x/KSZ877x/KSZ876x
  Bluetooth: ISO: Fix UAF on iso_sock_timeout
  Bluetooth: SCO: Fix UAF on sco_sock_timeout
  Bluetooth: hci_core: Disable works on hci_unregister_dev
  posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()
  r8169: avoid unsolicited interrupts
  net: sched: use RCU read-side critical section in taprio_dump()
  net: sched: fix use-after-free in taprio_change()
  net/sched: act_api: deny mismatched skip_sw/skip_hw flags for actions created by classifiers
  net: usb: usbnet: fix name regression
  mlxsw: spectrum_router: fix xa_store() error checking
  virtio_net: fix integer overflow in stats
  net: fix races in netdev_tx_sent_queue()/dev_watchdog()
  net: wwan: fix global oob in wwan_rtnl_policy
  netfilter: xtables: fix typo causing some targets not to load on IPv6
  ...

1  2 
.mailmap
MAINTAINERS
net/bluetooth/af_bluetooth.c
net/bluetooth/iso.c
net/netfilter/nf_bpf_link.c

diff --combined .mailmap
index 442da8603cef49fa044fc5ad5b94f6a19d3964b7,6877a258e010e6674939f7ca837981138ddfe85d..9a94c514e32c51c87b3915d6ccdc45dca7577774
+++ b/.mailmap
@@@ -73,8 -73,6 +73,8 @@@ Andrey Ryabinin <[email protected]
  Andrzej Hajda <[email protected]> <[email protected]>
  André Almeida <[email protected]> <[email protected]>
  Andy Adamson <[email protected]>
  Andy Shevchenko <[email protected]> <[email protected]>
  Andy Shevchenko <[email protected]> <[email protected]>
  Anilkumar Kolli <[email protected]> <[email protected]>
@@@ -306,6 -304,11 +306,11 @@@ Jens Axboe <[email protected]> <axboe@fb.
  Jens Osterkamp <[email protected]>
  Jernej Skrabec <[email protected]> <[email protected]>
+ Jesper Dangaard Brouer <[email protected]> <[email protected]>
+ Jesper Dangaard Brouer <[email protected]> <[email protected]>
+ Jesper Dangaard Brouer <[email protected]> <[email protected]>
+ Jesper Dangaard Brouer <[email protected]> <[email protected]>
+ Jesper Dangaard Brouer <[email protected]> <[email protected]>
  Jessica Zhang <[email protected]> <[email protected]>
  Jiri Kosina <[email protected]> <[email protected]>
diff --combined MAINTAINERS
index e9659a5a7fb3347d649855992a559e3526d18443,057f085680ab02edcaa5ca2f898a99b6acc1ffbb..6880a8fac74c2b0387ad4f2cfcda06bab37864cc
@@@ -258,6 -258,12 +258,6 @@@ L:        [email protected]
  S:    Maintained
  F:    drivers/net/ethernet/alteon/acenic*
  
 -ACER ASPIRE 1 EMBEDDED CONTROLLER DRIVER
 -M:    Nikita Travkin <[email protected]>
 -S:    Maintained
 -F:    Documentation/devicetree/bindings/platform/acer,aspire1-ec.yaml
 -F:    drivers/platform/arm64/acer-aspire1-ec.c
 -
  ACER ASPIRE ONE TEMPERATURE AND FAN DRIVER
  M:    Peter Kaestle <[email protected]>
  L:    [email protected]
@@@ -882,6 -888,7 +882,6 @@@ F: drivers/staging/media/sunxi/cedrus
  
  ALPHA PORT
  M:    Richard Henderson <[email protected]>
 -M:    Ivan Kokshaysky <[email protected]>
  M:    Matt Turner <[email protected]>
  L:    [email protected]
  S:    Odd Fixes
@@@ -1754,8 -1761,8 +1754,8 @@@ F:      include/uapi/linux/if_arcnet.
  ARM AND ARM64 SoC SUB-ARCHITECTURES (COMMON PARTS)
  M:    Arnd Bergmann <[email protected]>
  M:    Olof Johansson <[email protected]>
 -M:    [email protected]
  L:    [email protected] (moderated for non-subscribers)
 +L:    [email protected]
  S:    Maintained
  P:    Documentation/process/maintainer-soc.rst
  C:    irc://irc.libera.chat/armlinux
  S:    Maintained
  F:    arch/arm/mach-ep93xx/ts72xx.c
  
 -ARM/CIRRUS LOGIC CLPS711X ARM ARCHITECTURE
 -M:    Alexander Shiyan <[email protected]>
 -L:    [email protected] (moderated for non-subscribers)
 -S:    Odd Fixes
 -N:    clps711x
 -
  ARM/CIRRUS LOGIC EP93XX ARM ARCHITECTURE
  M:    Hartley Sweeten <[email protected]>
  M:    Alexander Sverdlin <[email protected]>
@@@ -3802,6 -3815,14 +3802,6 @@@ F:     drivers/video/backlight
  F:    include/linux/backlight.h
  F:    include/linux/pwm_backlight.h
  
 -BAIKAL-T1 PVT HARDWARE MONITOR DRIVER
 -M:    Serge Semin <[email protected]>
 -L:    [email protected]
 -S:    Supported
 -F:    Documentation/devicetree/bindings/hwmon/baikal,bt1-pvt.yaml
 -F:    Documentation/hwmon/bt1-pvt.rst
 -F:    drivers/hwmon/bt1-pvt.[ch]
 -
  BARCO P50 GPIO DRIVER
  M:    Santosh Kumar Yadav <[email protected]>
  M:    Peter Korsgaard <[email protected]>
@@@ -6455,6 -6476,7 +6455,6 @@@ F:      drivers/mtd/nand/raw/denali
  
  DESIGNWARE EDMA CORE IP DRIVER
  M:    Manivannan Sadhasivam <[email protected]>
 -R:    Serge Semin <[email protected]>
  L:    [email protected]
  S:    Maintained
  F:    drivers/dma/dw-edma/
@@@ -9737,6 -9759,14 +9737,6 @@@ F:     drivers/gpio/gpiolib-cdev.
  F:    include/uapi/linux/gpio.h
  F:    tools/gpio/
  
 -GRE DEMULTIPLEXER DRIVER
 -M:    Dmitry Kozlov <[email protected]>
 -L:    [email protected]
 -S:    Maintained
 -F:    include/net/gre.h
 -F:    net/ipv4/gre_demux.c
 -F:    net/ipv4/gre_offload.c
 -
  GRETH 10/100/1G Ethernet MAC device driver
  M:    Andreas Larsson <[email protected]>
  L:    [email protected]
@@@ -11253,10 -11283,10 +11253,10 @@@ F:        security/integrity
  F:    security/integrity/ima/
  
  INTEGRITY POLICY ENFORCEMENT (IPE)
 -M:    Fan Wu <wufan@linux.microsoft.com>
 +M:    Fan Wu <wufan@kernel.org>
  L:    [email protected]
  S:    Supported
 -T:    git https://github.com/microsoft/ipe.git
 +T:    git git://git.kernel.org/pub/scm/linux/kernel/git/wufan/ipe.git
  F:    Documentation/admin-guide/LSM/ipe.rst
  F:    Documentation/security/ipe.rst
  F:    scripts/ipe/
@@@ -11574,16 -11604,6 +11574,16 @@@ F: drivers/crypto/intel/keembay/keembay
  F:    drivers/crypto/intel/keembay/ocs-hcu.c
  F:    drivers/crypto/intel/keembay/ocs-hcu.h
  
 +INTEL LA JOLLA COVE ADAPTER (LJCA) USB I/O EXPANDER DRIVERS
 +M:    Wentong Wu <[email protected]>
 +M:    Sakari Ailus <[email protected]>
 +S:    Maintained
 +F:    drivers/gpio/gpio-ljca.c
 +F:    drivers/i2c/busses/i2c-ljca.c
 +F:    drivers/spi/spi-ljca.c
 +F:    drivers/usb/misc/usb-ljca.c
 +F:    include/linux/usb/ljca.h
 +
  INTEL MANAGEMENT ENGINE (mei)
  M:    Tomas Winkler <[email protected]>
  L:    [email protected]
@@@ -12222,7 -12242,6 +12222,7 @@@ R:   Dmitry Vyukov <[email protected]
  R:    Vincenzo Frascino <[email protected]>
  L:    [email protected]
  S:    Maintained
 +B:    https://bugzilla.kernel.org/buglist.cgi?component=Sanitizers&product=Memory%20Management
  F:    Documentation/dev-tools/kasan.rst
  F:    arch/*/include/asm/*kasan.h
  F:    arch/*/mm/kasan_init*
@@@ -12246,7 -12265,6 +12246,7 @@@ R:   Dmitry Vyukov <[email protected]
  R:    Andrey Konovalov <[email protected]>
  L:    [email protected]
  S:    Maintained
 +B:    https://bugzilla.kernel.org/buglist.cgi?component=Sanitizers&product=Memory%20Management
  F:    Documentation/dev-tools/kcov.rst
  F:    include/linux/kcov.h
  F:    include/uapi/linux/kcov.h
@@@ -12929,6 -12947,12 +12929,6 @@@ S:  Maintaine
  F:    drivers/ata/pata_arasan_cf.c
  F:    include/linux/pata_arasan_cf_data.h
  
 -LIBATA PATA DRIVERS
 -R:    Sergey Shtylyov <[email protected]>
 -L:    [email protected]
 -F:    drivers/ata/ata_*.c
 -F:    drivers/ata/pata_*.c
 -
  LIBATA PATA FARADAY FTIDE010 AND GEMINI SATA BRIDGE DRIVERS
  M:    Linus Walleij <[email protected]>
  L:    [email protected]
@@@ -12945,6 -12969,14 +12945,6 @@@ F:  drivers/ata/ahci_platform.
  F:    drivers/ata/libahci_platform.c
  F:    include/linux/ahci_platform.h
  
 -LIBATA SATA AHCI SYNOPSYS DWC CONTROLLER DRIVER
 -M:    Serge Semin <[email protected]>
 -L:    [email protected]
 -S:    Maintained
 -F:    Documentation/devicetree/bindings/ata/baikal,bt1-ahci.yaml
 -F:    Documentation/devicetree/bindings/ata/snps,dwc-ahci.yaml
 -F:    drivers/ata/ahci_dwc.c
 -
  LIBATA SATA PROMISE TX2/TX4 CONTROLLER DRIVER
  M:    Mikael Pettersson <[email protected]>
  L:    [email protected]
@@@ -14140,6 -14172,16 +14140,6 @@@ S:  Maintaine
  T:    git git://linuxtv.org/media_tree.git
  F:    drivers/media/platform/nxp/imx-pxp.[ch]
  
 -MEDIA DRIVERS FOR ASCOT2E
 -M:    Sergey Kozlov <[email protected]>
 -M:    Abylay Ospan <[email protected]>
 -L:    [email protected]
 -S:    Supported
 -W:    https://linuxtv.org
 -W:    http://netup.tv/
 -T:    git git://linuxtv.org/media_tree.git
 -F:    drivers/media/dvb-frontends/ascot2e*
 -
  MEDIA DRIVERS FOR CXD2099AR CI CONTROLLERS
  M:    Jasmin Jessich <[email protected]>
  L:    [email protected]
@@@ -14148,6 -14190,16 +14148,6 @@@ W:  https://linuxtv.or
  T:    git git://linuxtv.org/media_tree.git
  F:    drivers/media/dvb-frontends/cxd2099*
  
 -MEDIA DRIVERS FOR CXD2841ER
 -M:    Sergey Kozlov <[email protected]>
 -M:    Abylay Ospan <[email protected]>
 -L:    [email protected]
 -S:    Supported
 -W:    https://linuxtv.org
 -W:    http://netup.tv/
 -T:    git git://linuxtv.org/media_tree.git
 -F:    drivers/media/dvb-frontends/cxd2841er*
 -
  MEDIA DRIVERS FOR CXD2880
  M:    Yasunari Takiguchi <[email protected]>
  L:    [email protected]
@@@ -14192,6 -14244,35 +14192,6 @@@ F:  drivers/media/platform/nxp/imx-mipi-
  F:    drivers/media/platform/nxp/imx7-media-csi.c
  F:    drivers/media/platform/nxp/imx8mq-mipi-csi2.c
  
 -MEDIA DRIVERS FOR HELENE
 -M:    Abylay Ospan <[email protected]>
 -L:    [email protected]
 -S:    Supported
 -W:    https://linuxtv.org
 -W:    http://netup.tv/
 -T:    git git://linuxtv.org/media_tree.git
 -F:    drivers/media/dvb-frontends/helene*
 -
 -MEDIA DRIVERS FOR HORUS3A
 -M:    Sergey Kozlov <[email protected]>
 -M:    Abylay Ospan <[email protected]>
 -L:    [email protected]
 -S:    Supported
 -W:    https://linuxtv.org
 -W:    http://netup.tv/
 -T:    git git://linuxtv.org/media_tree.git
 -F:    drivers/media/dvb-frontends/horus3a*
 -
 -MEDIA DRIVERS FOR LNBH25
 -M:    Sergey Kozlov <[email protected]>
 -M:    Abylay Ospan <[email protected]>
 -L:    [email protected]
 -S:    Supported
 -W:    https://linuxtv.org
 -W:    http://netup.tv/
 -T:    git git://linuxtv.org/media_tree.git
 -F:    drivers/media/dvb-frontends/lnbh25*
 -
  MEDIA DRIVERS FOR MXL5XX TUNER DEMODULATORS
  L:    [email protected]
  S:    Orphan
@@@ -14199,6 -14280,16 +14199,6 @@@ W:  https://linuxtv.or
  T:    git git://linuxtv.org/media_tree.git
  F:    drivers/media/dvb-frontends/mxl5xx*
  
 -MEDIA DRIVERS FOR NETUP PCI UNIVERSAL DVB devices
 -M:    Sergey Kozlov <[email protected]>
 -M:    Abylay Ospan <[email protected]>
 -L:    [email protected]
 -S:    Supported
 -W:    https://linuxtv.org
 -W:    http://netup.tv/
 -T:    git git://linuxtv.org/media_tree.git
 -F:    drivers/media/pci/netup_unidvb/*
 -
  MEDIA DRIVERS FOR NVIDIA TEGRA - VDE
  M:    Dmitry Osipenko <[email protected]>
  L:    [email protected]
@@@ -14816,10 -14907,9 +14816,10 @@@ N: include/linux/page[-_]
  
  MEMORY MAPPING
  M:    Andrew Morton <[email protected]>
 -R:    Liam R. Howlett <[email protected]>
 +M:    Liam R. Howlett <[email protected]>
 +M:    Lorenzo Stoakes <[email protected]>
  R:    Vlastimil Babka <[email protected]>
 -R:    Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
 +R:    Jann Horn <jannh@google.com>
  L:    [email protected]
  S:    Maintained
  W:    http://www.linux-mm.org
@@@ -14842,6 -14932,13 +14842,6 @@@ F:  drivers/mtd
  F:    include/linux/mtd/
  F:    include/uapi/mtd/
  
 -MEMSENSING MICROSYSTEMS MSA311 DRIVER
 -M:    Dmitry Rokosov <[email protected]>
 -L:    [email protected]
 -S:    Maintained
 -F:    Documentation/devicetree/bindings/iio/accel/memsensing,msa311.yaml
 -F:    drivers/iio/accel/msa311.c
 -
  MEN A21 WATCHDOG DRIVER
  M:    Johannes Thumshirn <[email protected]>
  L:    [email protected]
@@@ -15175,6 -15272,7 +15175,6 @@@ F:   drivers/tty/serial/8250/8250_pci1xxx
  
  MICROCHIP POLARFIRE FPGA DRIVERS
  M:    Conor Dooley <[email protected]>
 -R:    Vladimir Georgiev <[email protected]>
  L:    [email protected]
  S:    Supported
  F:    Documentation/devicetree/bindings/fpga/microchip,mpf-spi-fpga-mgr.yaml
@@@ -15429,6 -15527,17 +15429,6 @@@ F:  arch/mips
  F:    drivers/platform/mips/
  F:    include/dt-bindings/mips/
  
 -MIPS BAIKAL-T1 PLATFORM
 -M:    Serge Semin <[email protected]>
 -L:    [email protected]
 -S:    Supported
 -F:    Documentation/devicetree/bindings/bus/baikal,bt1-*.yaml
 -F:    Documentation/devicetree/bindings/clock/baikal,bt1-*.yaml
 -F:    drivers/bus/bt1-*.c
 -F:    drivers/clk/baikal-t1/
 -F:    drivers/memory/bt1-l2-ctl.c
 -F:    drivers/mtd/maps/physmap-bt1-rom.[ch]
 -
  MIPS BOSTON DEVELOPMENT BOARD
  M:    Paul Burton <[email protected]>
  L:    [email protected]
@@@ -15441,6 -15550,7 +15441,6 @@@ F:   include/dt-bindings/clock/boston-clo
  
  MIPS CORE DRIVERS
  M:    Thomas Bogendoerfer <[email protected]>
 -M:    Serge Semin <[email protected]>
  L:    [email protected]
  S:    Supported
  F:    drivers/bus/mips_cdmm.c
@@@ -16042,6 -16152,7 +16042,7 @@@ M:   "David S. Miller" <[email protected]
  M:    Eric Dumazet <[email protected]>
  M:    Jakub Kicinski <[email protected]>
  M:    Paolo Abeni <[email protected]>
+ R:    Simon Horman <[email protected]>
  L:    [email protected]
  S:    Maintained
  P:    Documentation/process/maintainer-netdev.rst
@@@ -16084,6 -16195,7 +16085,7 @@@ F:   include/uapi/linux/rtnetlink.
  F:    lib/net_utils.c
  F:    lib/random32.c
  F:    net/
+ F:    samples/pktgen/
  F:    tools/net/
  F:    tools/testing/selftests/net/
  X:    Documentation/networking/mac80211-injection.rst
@@@ -16408,6 -16520,12 +16410,6 @@@ F:  include/linux/ntb.
  F:    include/linux/ntb_transport.h
  F:    tools/testing/selftests/ntb/
  
 -NTB IDT DRIVER
 -M:    Serge Semin <[email protected]>
 -L:    [email protected]
 -S:    Supported
 -F:    drivers/ntb/hw/idt/
 -
  NTB INTEL DRIVER
  M:    Dave Jiang <[email protected]>
  L:    [email protected]
@@@ -18428,6 -18546,13 +18430,6 @@@ F:  drivers/pps
  F:    include/linux/pps*.h
  F:    include/uapi/linux/pps.h
  
 -PPTP DRIVER
 -M:    Dmitry Kozlov <[email protected]>
 -L:    [email protected]
 -S:    Maintained
 -W:    http://sourceforge.net/projects/accel-pptp
 -F:    drivers/net/ppp/pptp.c
 -
  PRESSURE STALL INFORMATION (PSI)
  M:    Johannes Weiner <[email protected]>
  M:    Suren Baghdasaryan <[email protected]>
@@@ -19401,14 -19526,6 +19403,14 @@@ S: Maintaine
  F:    Documentation/tools/rtla/
  F:    tools/tracing/rtla/
  
 +Real-time Linux (PREEMPT_RT)
 +M:    Sebastian Andrzej Siewior <[email protected]>
 +M:    Clark Williams <[email protected]>
 +M:    Steven Rostedt <[email protected]>
 +L:    [email protected]
 +S:    Supported
 +K:    PREEMPT_RT
 +
  REALTEK AUDIO CODECS
  M:    Oder Chiou <[email protected]>
  S:    Maintained
@@@ -19518,6 -19635,15 +19520,6 @@@ S:  Supporte
  F:    Documentation/devicetree/bindings/i2c/renesas,iic-emev2.yaml
  F:    drivers/i2c/busses/i2c-emev2.c
  
 -RENESAS ETHERNET AVB DRIVER
 -R:    Sergey Shtylyov <[email protected]>
 -L:    [email protected]
 -L:    [email protected]
 -F:    Documentation/devicetree/bindings/net/renesas,etheravb.yaml
 -F:    drivers/net/ethernet/renesas/Kconfig
 -F:    drivers/net/ethernet/renesas/Makefile
 -F:    drivers/net/ethernet/renesas/ravb*
 -
  RENESAS ETHERNET SWITCH DRIVER
  R:    Yoshihiro Shimoda <[email protected]>
  L:    [email protected]
@@@ -19567,6 -19693,14 +19569,6 @@@ F:  Documentation/devicetree/bindings/i2
  F:    drivers/i2c/busses/i2c-rcar.c
  F:    drivers/i2c/busses/i2c-sh_mobile.c
  
 -RENESAS R-CAR SATA DRIVER
 -R:    Sergey Shtylyov <[email protected]>
 -L:    [email protected]
 -L:    [email protected]
 -S:    Supported
 -F:    Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml
 -F:    drivers/ata/sata_rcar.c
 -
  RENESAS R-CAR THERMAL DRIVERS
  M:    Niklas Söderlund <[email protected]>
  L:    [email protected]
@@@ -19642,6 -19776,16 +19644,6 @@@ S:  Supporte
  F:    Documentation/devicetree/bindings/i2c/renesas,rzv2m.yaml
  F:    drivers/i2c/busses/i2c-rzv2m.c
  
 -RENESAS SUPERH ETHERNET DRIVER
 -R:    Sergey Shtylyov <[email protected]>
 -L:    [email protected]
 -L:    [email protected]
 -F:    Documentation/devicetree/bindings/net/renesas,ether.yaml
 -F:    drivers/net/ethernet/renesas/Kconfig
 -F:    drivers/net/ethernet/renesas/Makefile
 -F:    drivers/net/ethernet/renesas/sh_eth*
 -F:    include/linux/sh_eth.h
 -
  RENESAS USB PHY DRIVER
  M:    Yoshihiro Shimoda <[email protected]>
  L:    [email protected]
@@@ -21636,8 -21780,8 +21638,8 @@@ F:   drivers/accessibility/speakup
  SPEAR PLATFORM/CLOCK/PINCTRL SUPPORT
  M:    Viresh Kumar <[email protected]>
  M:    Shiraz Hashim <[email protected]>
 -M:    [email protected]
  L:    [email protected] (moderated for non-subscribers)
 +L:    [email protected]
  S:    Maintained
  W:    http://www.st.com/spear
  F:    arch/arm/boot/dts/st/spear*
@@@ -22295,11 -22439,19 +22297,11 @@@ F:        drivers/tty/serial/8250/8250_lpss.
  
  SYNOPSYS DESIGNWARE APB GPIO DRIVER
  M:    Hoan Tran <[email protected]>
 -M:    Serge Semin <[email protected]>
  L:    [email protected]
  S:    Maintained
  F:    Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
  F:    drivers/gpio/gpio-dwapb.c
  
 -SYNOPSYS DESIGNWARE APB SSI DRIVER
 -M:    Serge Semin <[email protected]>
 -L:    [email protected]
 -S:    Supported
 -F:    Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
 -F:    drivers/spi/spi-dw*
 -
  SYNOPSYS DESIGNWARE AXI DMAC DRIVER
  M:    Eugeniy Paltsev <[email protected]>
  S:    Maintained
  S:    Maintained
  F:    drivers/hid/hid-udraw-ps3.c
  
 -UFS FILESYSTEM
 -M:    Evgeniy Dushistov <[email protected]>
 -S:    Maintained
 -F:    Documentation/admin-guide/ufs.rst
 -F:    fs/ufs/
 -
  UHID USERSPACE HID IO DRIVER
  M:    David Rheinsberg <[email protected]>
  L:    [email protected]
@@@ -23911,7 -24069,6 +23913,7 @@@ USB RAW GADGET DRIVE
  R:    Andrey Konovalov <[email protected]>
  L:    [email protected]
  S:    Maintained
 +B:    https://github.com/xairy/raw-gadget/issues
  F:    Documentation/usb/raw-gadget.rst
  F:    drivers/usb/gadget/legacy/raw_gadget.c
  F:    include/uapi/linux/usb/raw_gadget.h
@@@ -24583,10 -24740,9 +24585,10 @@@ F: tools/testing/vsock
  
  VMA
  M:    Andrew Morton <[email protected]>
 -R:    Liam R. Howlett <[email protected]>
 +M:    Liam R. Howlett <[email protected]>
 +M:    Lorenzo Stoakes <[email protected]>
  R:    Vlastimil Babka <[email protected]>
 -R:    Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
 +R:    Jann Horn <jannh@google.com>
  L:    [email protected]
  S:    Maintained
  W:    https://www.linux-mm.org
index e39fba5565c5d4f90ba3b5cc67c84469f8198430,bdce9270487d150fa928d600f77180f8e7e5862c..0b4d0a8bd361416c3417dd4407e38d00dbfa72b1
@@@ -185,6 -185,28 +185,28 @@@ void bt_sock_unlink(struct bt_sock_lis
  }
  EXPORT_SYMBOL(bt_sock_unlink);
  
+ bool bt_sock_linked(struct bt_sock_list *l, struct sock *s)
+ {
+       struct sock *sk;
+       if (!l || !s)
+               return false;
+       read_lock(&l->lock);
+       sk_for_each(sk, &l->head) {
+               if (s == sk) {
+                       read_unlock(&l->lock);
+                       return true;
+               }
+       }
+       read_unlock(&l->lock);
+       return false;
+ }
+ EXPORT_SYMBOL(bt_sock_linked);
  void bt_accept_enqueue(struct sock *parent, struct sock *sk, bool bh)
  {
        const struct cred *old_cred;
@@@ -825,14 -847,11 +847,14 @@@ cleanup_sysfs
        bt_sysfs_cleanup();
  cleanup_led:
        bt_leds_cleanup();
 +      debugfs_remove_recursive(bt_debugfs);
        return err;
  }
  
  static void __exit bt_exit(void)
  {
 +      iso_exit();
 +
        mgmt_exit();
  
        sco_exit();
diff --combined net/bluetooth/iso.c
index c9eefb43bf47e36902853e770e160224c4f07f93,ebd3e097d72eb8fee8a5edaffd63c314fa735dce..7a83e400ac77a0a0df41b206643bae6fc031631b
@@@ -93,6 -93,16 +93,16 @@@ static struct sock *iso_get_sock(bdaddr
  #define ISO_CONN_TIMEOUT      (HZ * 40)
  #define ISO_DISCONN_TIMEOUT   (HZ * 2)
  
+ static struct sock *iso_sock_hold(struct iso_conn *conn)
+ {
+       if (!conn || !bt_sock_linked(&iso_sk_list, conn->sk))
+               return NULL;
+       sock_hold(conn->sk);
+       return conn->sk;
+ }
  static void iso_sock_timeout(struct work_struct *work)
  {
        struct iso_conn *conn = container_of(work, struct iso_conn,
        struct sock *sk;
  
        iso_conn_lock(conn);
-       sk = conn->sk;
-       if (sk)
-               sock_hold(sk);
+       sk = iso_sock_hold(conn);
        iso_conn_unlock(conn);
  
        if (!sk)
@@@ -209,9 -217,7 +217,7 @@@ static void iso_conn_del(struct hci_con
  
        /* Kill socket */
        iso_conn_lock(conn);
-       sk = conn->sk;
-       if (sk)
-               sock_hold(sk);
+       sk = iso_sock_hold(conn);
        iso_conn_unlock(conn);
  
        if (sk) {
@@@ -2301,9 -2307,13 +2307,9 @@@ int iso_init(void
  
        hci_register_cb(&iso_cb);
  
 -      if (IS_ERR_OR_NULL(bt_debugfs))
 -              return 0;
 -
 -      if (!iso_debugfs) {
 +      if (!IS_ERR_OR_NULL(bt_debugfs))
                iso_debugfs = debugfs_create_file("iso", 0444, bt_debugfs,
                                                  NULL, &iso_debugfs_fops);
 -      }
  
        iso_inited = true;
  
index 797fe8a9971e72baea7f42ac87d1515e885e8ef2,e5e79a08c10b8df843231746b896ef511f52d1cf..3d64a4511fcfdd93b0d34c0fbed8bc6f8515ec4b
@@@ -23,6 -23,7 +23,7 @@@ static unsigned int nf_hook_run_bpf(voi
  struct bpf_nf_link {
        struct bpf_link link;
        struct nf_hook_ops hook_ops;
+       netns_tracker ns_tracker;
        struct net *net;
        u32 dead;
        const struct nf_defrag_hook *defrag_hook;
@@@ -120,6 -121,7 +121,7 @@@ static void bpf_nf_link_release(struct 
        if (!cmpxchg(&nf_link->dead, 0, 1)) {
                nf_unregister_net_hook(nf_link->net, &nf_link->hook_ops);
                bpf_nf_disable_defrag(nf_link);
+               put_net_track(nf_link->net, &nf_link->ns_tracker);
        }
  }
  
@@@ -150,12 -152,11 +152,12 @@@ static int bpf_nf_link_fill_link_info(c
                                      struct bpf_link_info *info)
  {
        struct bpf_nf_link *nf_link = container_of(link, struct bpf_nf_link, link);
 +      const struct nf_defrag_hook *hook = nf_link->defrag_hook;
  
        info->netfilter.pf = nf_link->hook_ops.pf;
        info->netfilter.hooknum = nf_link->hook_ops.hooknum;
        info->netfilter.priority = nf_link->hook_ops.priority;
 -      info->netfilter.flags = 0;
 +      info->netfilter.flags = hook ? BPF_F_NETFILTER_IP_DEFRAG : 0;
  
        return 0;
  }
@@@ -258,6 -259,8 +260,8 @@@ int bpf_nf_link_attach(const union bpf_
                return err;
        }
  
+       get_net_track(net, &link->ns_tracker, GFP_KERNEL);
        return bpf_link_settle(&link_primer);
  }
  
This page took 0.160205 seconds and 4 git commands to generate.