linux/drivers/net
Horatiu Vultur d25fde64d1 net: ocelot: Fix deletetion of MRP entries from MAC table
When a MRP ring was deleted or disabled, the driver was iterating over
the ports to detect if any other MPR rings exists and in case it didn't
exist it would delete the MAC table entry. But the problem was that it
used the last iterated port to delete the MAC table entry and this could
be a NULL port.

The fix consists of using the port on which the function was called.

Fixes: 7c588c3e96 ("net: ocelot: Extend MRP")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-18 19:13:42 -07:00
..
appletalk
arcnet
bonding bonding: Added -ENODEV interpret for slaves option 2021-03-15 12:40:01 -07:00
caif TTY/Serial driver changes for 5.12-rc1 2021-02-20 21:28:04 -08:00
can can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode 2021-03-01 11:45:15 +01:00
dsa net: dsa: mv88e6xxx: Offload bridge broadcast flooding flag 2021-03-18 16:24:06 -07:00
ethernet net: ocelot: Fix deletetion of MRP entries from MAC table 2021-03-18 19:13:42 -07:00
fddi net: fddi: skfp: Mundane typo fixes throughout the file smt.h 2021-03-10 15:42:22 -08:00
fjes
hamradio net/hamradio/6pack: remove redundant check in sp_encaps() 2021-03-05 13:00:38 -08:00
hippi
hyperv netvsc: Update driver to use ethtool_sprintf 2021-03-17 11:42:31 -07:00
ieee802154
ipa net: ipa: relax 64-bit build requirement 2021-03-18 16:20:35 -07:00
ipvlan
mdio net: mdio: Add BCM6368 MDIO mux bus controller 2021-03-16 11:52:18 -07:00
mhi net: mhi: Add mbim proto 2021-02-10 15:11:51 -08:00
netdevsim netdevsim: Add dummy psample implementation 2021-03-14 15:00:43 -07:00
pcs net: pcs: add C37 SGMII AN support for intel mGbE controller 2021-03-15 12:53:12 -07:00
phy net: phy: add Marvell 88X2222 transceiver support 2021-03-15 14:50:28 -07:00
plip net: plip: Fix fall-through warnings for Clang 2021-03-10 12:45:15 -08:00
ppp net: ppp: Mundane typo fixes in the file pppoe.c 2021-03-17 12:18:18 -07:00
slip
team
usb net: cdc_ncm: drop redundant driver-data assignment 2021-03-18 19:13:42 -07:00
vmxnet3 vmxnet3: Update driver to use ethtool_sprintf 2021-03-17 11:42:31 -07:00
wan net: lapbether: Close the LAPB device before its underlying Ethernet device closes 2021-03-18 19:13:42 -07:00
wireguard wireguard: queueing: get rid of per-peer ring buffers 2021-02-23 15:59:34 -08:00
wireless wireless-drivers fixes for v5.12 2021-03-03 16:35:24 -08:00
xen-netback Merge git://git.kernel.org:/pub/scm/linux/kernel/git/netdev/net 2021-03-09 17:15:56 -08:00
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending 2021-02-23 11:29:52 -08:00
ifb.c
Kconfig netdevsim: Add dummy psample implementation 2021-03-14 15:00:43 -07:00
LICENSE.SRC
loopback.c Revert "net-loopback: set lo dev initial state to UP" 2021-02-11 13:10:44 -08:00
macsec.c
macvlan.c
macvtap.c
Makefile net: mhi: Add dedicated folder 2021-02-10 15:11:51 -08:00
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 net: fix dev_ifsioc_locked() race condition 2021-02-11 18:14:19 -08:00
thunderbolt.c
tun.c net: fix dev_ifsioc_locked() race condition 2021-02-11 18:14:19 -08:00
veth.c
virtio_net.c net: move the xps maps to an array 2021-03-18 14:56:22 -07:00
vrf.c
vsockmon.c
vxlan.c drivers: net: vxlan.c: Fix declaration issue 2021-03-13 18:06:48 -08:00
xen-netfront.c