summaryrefslogtreecommitdiff
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2013-08-13 01:41:06 -0700
committerDavid S. Miller <davem@davemloft.net>2013-08-13 16:52:50 -0700
commit4221f40513233fa8edeef7fc82e44163fde03b9b (patch)
treeb7213a4e780c4c5b61ef4f103bcd5346c960a365 /net/xfrm/xfrm_policy.c
parent50f850fdf91a9ed21bfca982932520ee21a4ccb9 (diff)
ip_tunnel: Do not use inner ip-header-id for tunnel ip-header-id.
Using inner-id for tunnel id is not safe in some rare cases. E.g. packets coming from multiple sources entering same tunnel can have same id. Therefore on tunnel packet receive we could have packets from two different stream but with same source and dst IP with same ip-id which could confuse ip packet reassembly. Following patch reverts optimization from commit 490ab08127 (IP_GRE: Fix IP-Identification.) CC: Jarno Rajahalme <jrajahalme@nicira.com> CC: Ansis Atteka <aatteka@nicira.com> Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
0 files changed, 0 insertions, 0 deletions