diff options
author | Florian Westphal <fw@strlen.de> | 2014-10-20 13:49:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-20 12:38:13 -0400 |
commit | f993bc25e5196e60514c216d0bca0f600de64af8 (patch) | |
tree | 14c772873becfbdfc26a1cf0c9d967ffd118f9d8 /net/openvswitch/datapath.c | |
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>
Diffstat (limited to 'net/openvswitch/datapath.c')
0 files changed, 0 insertions, 0 deletions