linux/drivers/net
Peter Münster e3eb7dd47b net: b44: set pause params only when interface is up
b44_free_rings() accesses b44::rx_buffers (and ::tx_buffers)
unconditionally, but b44::rx_buffers is only valid when the
device is up (they get allocated in b44_open(), and deallocated
again in b44_close()), any other time these are just a NULL pointers.

So if you try to change the pause params while the network interface
is disabled/administratively down, everything explodes (which likely
netifd tries to do).

Link: https://github.com/openwrt/openwrt/issues/13789
Fixes: 1da177e4c3 (Linux-2.6.12-rc2)
Cc: stable@vger.kernel.org
Reported-by: Peter Münster <pm@a16n.net>
Suggested-by: Jonas Gorski <jonas.gorski@gmail.com>
Signed-off-by: Vaclav Svoboda <svoboda@neng.cz>
Tested-by: Peter Münster <pm@a16n.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Peter Münster <pm@a16n.net>
Reviewed-by: Michael Chan <michael.chan@broadcom.com>
Link: https://lore.kernel.org/r/87y192oolj.fsf@a16n.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-04-25 08:34:18 -07:00
..
arcnet
bonding
caif
can
dsa net: dsa: mv88e6xx: fix supported_interfaces setup in mv88e6250_phylink_get_caps() 2024-04-22 13:38:27 -07:00
ethernet net: b44: set pause params only when interface is up 2024-04-25 08:34:18 -07:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan
mctp
mdio
netdevsim
pcs
phy net: phy: dp83869: Fix MII mode failure 2024-04-25 11:25:07 +01:00
plip
ppp
pse-pd
slip
team
thunderbolt
usb net: usb: ax88179_178a: stop lying about skb->truesize 2024-04-23 19:04:17 -07:00
vmxnet3
vxlan vxlan: drop packets from invalid src-address 2024-04-19 12:54:33 +01:00
wan
wireguard
wireless wifi: iwlwifi: mvm: fix link ID management 2024-04-22 09:42:25 +02:00
wwan
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c net: gtp: Fix Use-After-Free in gtp_dellink 2024-04-24 11:46:31 +01:00
ifb.c
loopback.c
macsec.c macsec: Detect if Rx skb is macsec-related for offloading devices that update md_dst 2024-04-25 08:20:54 -07:00
macvlan.c
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
netkit.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
sungem_phy.c
tap.c
tun.c tun: limit printing rate when illegal packet received by tun dev 2024-04-16 17:13:23 -07:00
veth.c
virtio_net.c
vrf.c
vsockmon.c
xen-netfront.c