summaryrefslogtreecommitdiffstats
path: root/net/rxrpc
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2014-10-20 13:49:18 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-20 12:38:13 -0400
commitf993bc25e5196e60514c216d0bca0f600de64af8 (patch)
tree14c772873becfbdfc26a1cf0c9d967ffd118f9d8 /net/rxrpc
parent330966e501ffe282d7184fde4518d5e0c24bc7f8 (diff)
downloadlinux-f993bc25e5196e60514c216d0bca0f600de64af8.tar.bz2
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/rxrpc')
0 files changed, 0 insertions, 0 deletions