linux/drivers/net/ethernet/sfc
Ben Hutchings 7e6d06f0de sfc: Fix maximum number of TSO segments and minimum TX queue size
Currently an skb requiring TSO may not fit within a minimum-size TX
queue.  The TX queue selected for the skb may stall and trigger the TX
watchdog repeatedly (since the problem skb will be retried after the
TX reset).  This issue is designated as CVE-2012-3412.

Set the maximum number of TSO segments for our devices to 100.  This
should make no difference to behaviour unless the actual MSS is less
than about 700.  Increase the minimum TX queue size accordingly to
allow for 2 worst-case skbs, so that there will definitely be space
to add an skb after we wake a queue.

To avoid invalidating existing configurations, change
efx_ethtool_set_ringparam() to fix up values that are too small rather
than returning -EINVAL.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-08-02 00:19:17 -07:00
..
bitfield.h sfc: Minor formatting cleanup 2012-02-22 20:48:38 +00:00
efx.c sfc: Fix maximum number of TSO segments and minimum TX queue size 2012-08-02 00:19:17 -07:00
efx.h sfc: Fix maximum number of TSO segments and minimum TX queue size 2012-08-02 00:19:17 -07:00
enum.h sfc: Correct some comments on enum reset_type 2012-07-17 16:12:35 +01:00
ethtool.c sfc: Fix maximum number of TSO segments and minimum TX queue size 2012-08-02 00:19:17 -07:00
falcon_boards.c sfc: Log the part number on probe 2012-03-06 18:14:16 +00:00
falcon_xmac.c sfc: Fix interface statistics running backward 2012-07-17 16:12:34 +01:00
falcon.c sfc: Disable VF queues during register self-test 2012-07-17 16:12:33 +01:00
filter.c sfc: Work around bogus 'uninitialised variable' warning 2012-07-17 16:12:29 +01:00
filter.h sfc: Add support for TX MAC filters 2012-02-16 00:11:30 +00:00
io.h
Kconfig sfc: Add SR-IOV back-end support for SFC9000 family 2012-02-16 00:25:13 +00:00
Makefile sfc: Add SR-IOV back-end support for SFC9000 family 2012-02-16 00:25:13 +00:00
mcdi_mac.c sfc: Add SR-IOV back-end support for SFC9000 family 2012-02-16 00:25:13 +00:00
mcdi_mon.c sfc: initialize dynamic sysfs attributes for lockdep 2012-07-19 10:48:08 -07:00
mcdi_pcol.h drivers/net/ethernet: Fix non-kernel-doc comments with kernel-doc start markers 2012-07-10 23:13:46 -07:00
mcdi_phy.c sfc: Added support for new ethtool APIs for obtaining module eeprom 2012-05-10 03:10:46 +01:00
mcdi.c sfc: Explain why efx_mcdi_exit_assertion() ignores result of efx_mcdi_rpc() 2012-07-17 16:12:33 +01:00
mcdi.h sfc: Add SR-IOV back-end support for SFC9000 family 2012-02-16 00:25:13 +00:00
mdio_10g.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
mdio_10g.h
mtd.c MTD merge for 3.4 2012-03-30 17:31:56 -07:00
net_driver.h Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2012-07-18 09:08:36 -07:00
nic.c sfc: Disable VF queues during register self-test 2012-07-17 16:12:33 +01:00
nic.h sfc: Fix interface statistics running backward 2012-07-17 16:12:34 +01:00
phy.h
qt202x_phy.c sfc: Implement module EEPROM access for SFE4002 and SFN4112F 2012-05-10 03:10:54 +01:00
regs.h sfc: Correct MAC filter bitfield definitions 2012-02-16 00:11:31 +00:00
rx.c Merge branch 'for-davem' of git://git.kernel.org/pub/scm/linux/kernel/git/bwh/sfc-next 2012-07-18 09:08:36 -07:00
selftest.c sfc: Disable VF queues during register self-test 2012-07-17 16:12:33 +01:00
selftest.h sfc: Run event/IRQ self-test asynchronously when interface is brought up 2012-03-06 18:14:15 +00:00
siena_sriov.c sfc: Fix calculation of vf_i in map_vi_index() 2012-03-06 18:14:13 +00:00
siena.c sfc: Fix interface statistics running backward 2012-07-17 16:12:34 +01:00
spi.h sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
tenxpress.c sfc: Fix some formatting errors reported by checkpatch 2012-01-05 18:44:49 +00:00
tx.c sfc: Fix maximum number of TSO segments and minimum TX queue size 2012-08-02 00:19:17 -07:00
txc43128_phy.c sfc: Const-qualify static data as appropriate, partly prompted by checkpatch 2012-01-09 17:08:13 +00:00
vfdi.h sfc: Specify that the VFDI status page has page alignment and size 2012-02-22 20:48:07 +00:00
workarounds.h