alistair23-linux/drivers/net/ethernet/sfc
Bert Kenward c70d68150f sfc: don't read beyond unicast address list
If we have more than 32 unicast MAC addresses assigned to an interface
we will read beyond the end of the address table in the driver when
adding filters. The next 256 entries store multicast addresses, so we
will end up attempting to insert duplicate filters, which is mostly
harmless. If we add more than 288 unicast addresses we will then read
past the multicast address table, which is likely to be more exciting.

Fixes: 12fb0da45c ("sfc: clean fallbacks between promisc/normal in efx_ef10_filter_sync_rx_mode")
Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-07-12 14:41:06 -07:00
..
falcon
bitfield.h
ef10.c sfc: don't read beyond unicast address list 2017-07-12 14:41:06 -07:00
ef10_regs.h
ef10_sriov.c
ef10_sriov.h
efx.c
efx.h
enum.h
ethtool.c
farch.c
farch_regs.h
filter.h
io.h
Kconfig
Makefile
mcdi.c sfc: correct comment on efx_mcdi_process_event 2017-07-01 15:24:06 -07:00
mcdi.h
mcdi_mon.c
mcdi_pcol.h
mcdi_port.c
mtd.c
net_driver.h
nic.c
nic.h
ptp.c
rx.c
selftest.c
selftest.h
siena.c
siena_sriov.c
siena_sriov.h
sriov.c
sriov.h
tx.c
tx.h
tx_tso.c
vfdi.h
workarounds.h