summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-06-08 11:20:01 +0400
committerDavid S. Miller <davem@davemloft.net>2009-06-08 11:20:01 +0400
commit4909122fb8350e70c347f1201256908a92058044 (patch)
treece87843cec44a1671bacff61b2c4fd25960efa6a /net/core
parentb82f08ea162edeee6c2c70c6c4321bea4763fa35 (diff)
downloadlinux-4909122fb8350e70c347f1201256908a92058044.tar.xz
tun: Optimise handling of bogus gso->hdr_len
As all current versions of virtio_net generate a value for the header length that's too small, we should optimise this so that we don't copy it twice. This can be done by ensuring that it is at least as large as the place where we'll write the checksum. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions