summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-06-20 01:15:47 +0200
committerDavid S. Miller <davem@davemloft.net>2008-06-20 01:15:47 +0200
commit0187bdfb05674147774ca79a79942537f3ad54bd (patch)
tree43980261ce9e2b6ef76356dbbbc7efe3dbb60a02 /samples
parentsctp: Follow security requirement of responding with 1 packet (diff)
downloadlinux-0187bdfb05674147774ca79a79942537f3ad54bd.tar.xz
linux-0187bdfb05674147774ca79a79942537f3ad54bd.zip
net: Disable LRO on devices that are forwarding
Large Receive Offload (LRO) is only appropriate for packets that are destined for the host, and should be disabled if received packets may be forwarded. It can also confuse the GSO on output. Add dev_disable_lro() function which uses the appropriate ethtool ops to disable LRO if enabled. Add calls to dev_disable_lro() in br_add_if() and functions that enable IPv4 and IPv6 forwarding. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions