diff options
author | Ying Cai <[email protected]> | 2014-05-04 15:20:04 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-05-05 16:32:17 -0400 |
commit | e96f2e7c430014eff52c93cabef1ad4f42ed0db1 (patch) | |
tree | 225d4491ce2e7bac9282a3ea9453313e2b14a61d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 780ce3a225c4d6e85b5436d9beb95727b2c4e69f (diff) |
ip_tunnel: Set network header properly for IP_ECN_decapsulate()
In ip_tunnel_rcv(), set skb->network_header to inner IP header
before IP_ECN_decapsulate().
Without the fix, IP_ECN_decapsulate() takes outer IP header as
inner IP header, possibly causing error messages or packet drops.
Note that this skb_reset_network_header() call was in this spot when
the original feature for checking consistency of ECN bits through
tunnels was added in eccc1bb8d4b4 ("tunnel: drop packet if ECN present
with not-ECT"). It was only removed from this spot in 3d7b46cd20e3
("ip_tunnel: push generic protocol handling to ip_tunnel module.").
Fixes: 3d7b46cd20e3 ("ip_tunnel: push generic protocol handling to ip_tunnel module.")
Reported-by: Neal Cardwell <[email protected]>
Signed-off-by: Ying Cai <[email protected]>
Acked-by: Neal Cardwell <[email protected]>
Acked-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions