linux/drivers/net/ethernet/sfc
Andrew Rybchenko e70c70c38d sfc: fix potential stack corruption from running past stat bitmask
On 32-bit systems, mask is only an array of 3 longs, not 4, so don't try
to write to mask[3].
Also include build-time checks in case the size of the bitmask changes.

Fixes: 3c36a2aded ("sfc: display vadaptor statistics for all interfaces")
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-08-26 21:40:44 -07:00
..
bitfield.h
ef10_regs.h
ef10_sriov.c sfc: Fix VLAN filtering feature if vPort has VLAN_RESTRICT flag 2016-06-15 22:26:27 -07:00
ef10_sriov.h sfc: Fix VLAN filtering feature if vPort has VLAN_RESTRICT flag 2016-06-15 22:26:27 -07:00
ef10.c sfc: fix potential stack corruption from running past stat bitmask 2016-08-26 21:40:44 -07:00
efx.c sfc: Disable VLAN filtering by default if not strictly required 2016-06-15 22:26:27 -07:00
efx.h sfc: Assert filter_sem write locked when required 2016-06-15 22:26:25 -07:00
enum.h sfc: Change entity reset on MC reboot to a new datapath-only reset. 2015-05-21 18:43:54 -04:00
ethtool.c sfc: implement IPv6 NFC (and IPV4_USER_FLOW) 2016-02-11 07:16:18 -05:00
falcon_boards.c
falcon.c sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
farch_regs.h
farch.c net: sfc: avoid -Wtype-limits warning 2016-06-16 14:24:06 -07:00
filter.h
io.h
Kconfig sfc: add sysfs entry to control MCDI tracing 2015-05-27 13:54:51 -04:00
Makefile sfc: Enable VF's via a write to the sysfs file sriov_numvfs 2015-05-09 16:16:46 -04:00
mcdi_mon.c
mcdi_pcol.h sfc: Update MCDI protocol definitions 2016-06-15 22:26:27 -07:00
mcdi_port.c sfc: report supported link speeds on SFP connections 2016-06-08 11:18:45 -07:00
mcdi.c sfc: Downgrade EPERM messages from MCDI to debug 2015-12-23 22:06:39 -05:00
mcdi.h sfc: Handle MCDI proxy authorisation 2015-12-23 22:06:39 -05:00
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h sfc: VLAN filters must only be created if the firmware supports this. 2016-06-15 22:26:26 -07:00
nic.c
nic.h sfc: Implement list of VLANs added over interface 2016-06-15 22:26:26 -07:00
phy.h
ptp.c net: sfc: avoid using timespec 2015-10-01 09:59:24 -07:00
qt202x_phy.c
rx.c sfc: Track RPS flow IDs per channel instead of per function 2016-05-31 20:30:25 -07:00
selftest.c sfc: allow ethtool selftest and MC reboot to complete on an unprivileged function 2015-07-31 15:32:05 -07:00
selftest.h
siena_sriov.c sfc: save old MAC address in case sriov_mac_address_changed fails 2015-05-21 18:43:53 -04:00
siena_sriov.h sfc: save old MAC address in case sriov_mac_address_changed fails 2015-05-21 18:43:53 -04:00
siena.c sfc: Allow driver to cope with a lower number of VIs than it needs for RSS 2015-08-28 13:53:47 -07:00
sriov.c sfc: Implement ndo_gets_phys_port_id() for EF10 VFs 2015-06-02 12:57:26 -07:00
sriov.h sfc: Implement ndo_gets_phys_port_id() for EF10 VFs 2015-06-02 12:57:26 -07:00
tenxpress.c
tx.c net: relax setup_tc ndo op handle restriction 2016-03-03 16:25:15 -05:00
txc43128_phy.c sfc: fix a timeout loop 2015-12-15 12:46:26 -05:00
vfdi.h ethernet: codespell comment spelling fixes 2015-03-08 22:54:22 -04:00
workarounds.h