commit | f993bc25e5196e60514c216d0bca0f600de64af8 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Mon Oct 20 13:49:18 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Oct 20 12:38:13 2014 -0400 |
tree | 14c772873becfbdfc26a1cf0c9d967ffd118f9d8 | |
parent | 330966e501ffe282d7184fde4518d5e0c24bc7f8 [diff] |
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>