summaryrefslogtreecommitdiff
path: root/net/core/scm.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2014-10-20 15:49:18 +0400
committerDavid S. Miller <davem@davemloft.net>2014-10-20 20:38:13 +0400
commitf993bc25e5196e60514c216d0bca0f600de64af8 (patch)
tree14c772873becfbdfc26a1cf0c9d967ffd118f9d8 /net/core/scm.c
parent330966e501ffe282d7184fde4518d5e0c24bc7f8 (diff)
downloadlinux-f993bc25e5196e60514c216d0bca0f600de64af8.tar.xz
net: core: handle encapsulation offloads when computing segment lengths
if ->encapsulation is set we have to use inner_tcp_hdrlen and add the size of the inner network headers too. This is 'mostly harmless'; tbf might send skb that is slightly over quota or drop skb even if it would have fit. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/scm.c')
0 files changed, 0 insertions, 0 deletions