diff options
| author | Tom Herbert <[email protected]> | 2014-10-30 15:40:56 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-10-30 23:51:56 +0000 |
| commit | 14051f0452a2c26a3f4791e6ad6a435e8f1945ff (patch) | |
| tree | b9b2c17b648ee9f485c9c8751ff1a3d4c781f77a /net/ipv4/tcp_output.c | |
| parent | Merge branch 'mellanox-net' (diff) | |
| download | kernel-14051f0452a2c26a3f4791e6ad6a435e8f1945ff.tar.gz kernel-14051f0452a2c26a3f4791e6ad6a435e8f1945ff.zip | |
gre: Use inner mac length when computing tunnel length
Currently, skb_inner_network_header is used but this does not account
for Ethernet header for ETH_P_TEB. Use skb_inner_mac_header which
handles TEB and also should work with IP encapsulation in which case
inner mac and inner network headers are the same.
Tested: Ran TCP_STREAM over GRE, worked as expected.
Signed-off-by: Tom Herbert <[email protected]>
Acked-by: Alexander Duyck <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
