android_kernel_motorola_sm6375/drivers/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Peter Münster 90be0c7757 net: b44: set pause params only when interface is up
commit e3eb7dd47bd4806f00e104eb6da092c435f9fb21 upstream.

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: [email protected]
Reported-by: Peter Münster <[email protected]>
Suggested-by: Jonas Gorski <[email protected]>
Signed-off-by: Vaclav Svoboda <[email protected]>
Tested-by: Peter Münster <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Peter Münster <[email protected]>
Reviewed-by: Michael Chan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-05-02 16:18:36 +02:00
..
appletalk
arcnet arcnet: restoring support for multiple Sohard Arcnet cards 2023-12-13 18:18:12 +01:00
bonding bonding: remove print in bond_verify_device_path 2024-02-23 08:25:05 +01:00
caif
can can: dev: can_restart(): fix race condition between controller restart and netif_carrier_on() 2023-11-20 10:30:09 +01:00
dsa net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe 2024-01-25 14:34:32 -08:00
ethernet net: b44: set pause params only when interface is up 2024-05-02 16:18:36 +02:00
fddi
fjes fjes: fix memleaks in fjes_hw_setup 2024-02-23 08:24:51 +01:00
hamradio
hippi
hyperv hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed 2024-03-15 10:48:18 -04:00
ieee802154 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show() 2023-11-08 11:23:35 +01:00
ipvlan ipvlan: add ipvlan_route_v6_outbound() helper 2023-11-28 16:50:16 +00:00
netdevsim
phy net: phy: micrel: populate .soft_reset for KSZ9131 2024-01-25 14:34:32 -08:00
plip
ppp ppp_async: limit MRU to 64K 2024-02-23 08:25:07 +01:00
slip
team team: Fix use-after-free when an option instance allocation fails 2023-12-20 15:41:25 +01:00
usb net: usb: ax88179_178a: stop lying about skb->truesize 2024-05-02 16:18:33 +02:00
vmxnet3
wan net: remove unneeded break 2024-02-23 08:25:04 +01:00
wimax
wireless wifi: ath9k: fix LNA selection in ath_ant_try_scan() 2024-04-13 12:51:37 +02:00
xen-netback xen-netback: properly sync TX responses 2024-02-23 08:25:11 +01:00
dummy.c
eql.c
geneve.c geneve: fix header validation in geneve[6]_xmit_skb 2024-05-02 16:18:28 +02:00
gtp.c net: gtp: Fix Use-After-Free in gtp_dellink 2024-05-02 16:18:33 +02:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c net: add DEV_STATS_READ() helper 2023-11-20 10:30:10 +01:00
macvlan.c macvlan: Don't propagate promisc change to lower dev in passthru 2023-11-28 16:50:17 +00:00
macvtap.c
Makefile
mdio.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c
thunderbolt.c net: thunderbolt: Fix TCPv6 GSO checksum calculation 2023-10-10 21:46:41 +02:00
tun.c tun: limit printing rate when illegal packet received by tun dev 2024-05-02 16:18:30 +02:00
veth.c veth: Fixing transmit return status for dropped packets 2023-09-23 10:59:58 +02:00
virtio_net.c virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings 2024-02-23 08:25:03 +01:00
vrf.c
vsockmon.c
vxlan.c vxlan: drop packets from invalid src-address 2024-05-02 16:18:33 +02:00
xen-netfront.c