WSL2-Linux-Kernel/drivers/net
Oliver Neukum 0914c26262 usbnet: ipheth: race between ipheth_close and error handling
[ Upstream commit e5876b088ba03a62124266fa20d00e65533c7269 ]

ipheth_sndbulk_callback() can submit carrier_work
as a part of its error handling. That means that
the driver must make sure that the work is cancelled
after it has made sure that no more URB can terminate
with an error condition.

Hence the order of actions in ipheth_close() needs
to be inverted.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: Foster Snowhill <forst@pen.gy>
Tested-by: Georgi Valkov <gvalkov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-12 11:07:50 +02:00
..
appletalk
arcnet arcnet: restoring support for multiple Sohard Arcnet cards 2023-12-13 18:36:35 +01:00
bonding bonding: fix xfrm state handling when clearing active slave 2024-09-04 13:23:33 +02:00
caif
can can: m_can: Release irq on error in m_can_open 2024-09-12 11:07:46 +02:00
dsa net: dsa: vsc73xx: fix possible subblocks range of CAPT block 2024-09-12 11:07:47 +02:00
ethernet net: dpaa: avoid on-stack arrays of NR_CPUS elements 2024-09-12 11:07:49 +02:00
fddi
fjes fjes: fix memleaks in fjes_hw_setup 2024-02-23 08:54:30 +01:00
hamradio
hippi
hyperv hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed 2024-03-15 10:48:21 -04:00
ieee802154 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show() 2023-11-08 17:26:38 +01:00
ipa
ipvlan ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound 2024-06-16 13:39:52 +02:00
mctp
mdio
netdevsim
pcs net: pcs: xpcs: Return EINVAL in the internal methods 2024-04-13 13:01:43 +02:00
phy net: phy: micrel: add Microchip KSZ 9477 to the device table 2024-07-05 09:14:41 +02:00
plip
ppp ppp: reject claimed-as-LCP but actually malformed packets 2024-07-18 13:07:38 +02:00
slip
team team: Fix use-after-free when an option instance allocation fails 2023-12-20 15:17:41 +01:00
usb usbnet: ipheth: race between ipheth_close and error handling 2024-09-12 11:07:50 +02:00
vmxnet3
vxlan vxlan: Fix regression when dropping packets due to invalid src addresses 2024-07-05 09:14:06 +02:00
wan drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close() 2023-10-10 21:59:06 +02:00
wireguard wireguard: send: annotate intentional data race in checking empty queue 2024-07-18 13:07:43 +02:00
wireless wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id() 2024-09-12 11:07:48 +02:00
wwan
xen-netback xen-netback: properly sync TX responses 2024-02-23 08:55:05 +01:00
Kconfig
LICENSE.SRC
Makefile net: Always descend into dsa/ folder with CONFIG_NET_DSA enabled 2024-06-16 13:39:46 +02:00
Space.c
bareudp.c bareudp: Fix device stats updates. 2024-09-12 11:07:47 +02:00
dummy.c
eql.c
geneve.c gro: remove rcu_read_lock/rcu_read_unlock from gro_complete handlers 2024-09-12 11:07:47 +02:00
gtp.c gtp: fix a potential NULL pointer dereference 2024-09-04 13:23:40 +02:00
ifb.c
loopback.c
macsec.c net: add DEV_STATS_READ() helper 2023-11-20 11:08:16 +01:00
macvlan.c macvlan: Don't propagate promisc change to lower dev in passthru 2023-11-28 16:56:25 +00:00
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c net: netconsole: Disable target before netpoll cleanup 2024-08-19 05:45:11 +02:00
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c tap: add missing verification for short frame 2024-07-27 10:46:18 +02:00
thunderbolt.c net: thunderbolt: Fix TCPv6 GSO checksum calculation 2023-10-06 13:18:23 +02:00
tun.c tun: add missing verification for short frame 2024-07-27 10:46:17 +02:00
veth.c net: veth: do not manipulate GRO when using XDP 2024-03-26 18:21:35 -04:00
virtio_net.c virtio_net: Fix napi_skb_cache_put warning 2024-09-12 11:07:42 +02:00
vrf.c
vsockmon.c
xen-netfront.c xen-netfront: Add missing skb_mark_for_recycle 2024-04-10 16:19:37 +02:00