linux/drivers/net/ethernet/broadcom
Ben Hutchings 7850f63f16 ethtool: Centralise validation of ETHTOOL_{G, S}RXFHINDIR parameters
Add a new ethtool operation (get_rxfh_indir_size) to get the
indirectional table size.  Use this to validate the user buffer size
before calling get_rxfh_indir or set_rxfh_indir.  Use get_rxnfc to get
the number of RX rings, and validate the contents of the new
indirection table before calling set_rxfh_indir.  Remove this
validation from drivers.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-16 13:52:47 -05:00
..
bnx2x ethtool: Centralise validation of ETHTOOL_{G, S}RXFHINDIR parameters 2011-12-16 13:52:47 -05:00
b44.c b44: Use dev_kfree_skb_irq() in b44_tx() 2011-11-23 16:40:31 -05:00
b44.h
bcm63xx_enet.c
bcm63xx_enet.h
bnx2_fw.h
bnx2.c bnx2: Support for byte queue limits 2011-11-30 17:10:22 -05:00
bnx2.h bnx2: switch to build_skb() infrastructure 2011-11-18 02:04:47 -05:00
cnic_defs.h
cnic_if.h bnx2x, cnic: support DRV_INFO upon FW request 2011-12-06 13:06:05 -05:00
cnic.c bnx2x, cnic: support DRV_INFO upon FW request 2011-12-06 13:06:05 -05:00
cnic.h
Kconfig
Makefile
sb1250-mac.c net/ethernet: convert drivers/net/ethernet/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00
tg3.c tg3: Break out RSS indir table init and assignment 2011-12-15 13:09:11 -05:00
tg3.h tg3: Break out RSS indir table init and assignment 2011-12-15 13:09:11 -05:00