datapath: tunnel: Do not use inner ip-header-id for tunnel ip-header-id.
authorPravin B Shelar <pshelar@nicira.com>
Wed, 14 Aug 2013 18:46:15 +0000 (11:46 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Tue, 13 Aug 2013 07:12:13 +0000 (00:12 -0700)
commita88aeffd4d4309b22608e2f73324da4f07d0b5d9
treef0cb15d513f1bdef952c2b899ccb48e24bd571f4
parent7b6d4b2ac88e551dd38aa85d5eba441e68d6a2a7
datapath: 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.

CC: Jarno Rajahalme <jrajahalme@nicira.com>
CC: Ansis Atteka <aatteka@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/linux/compat/include/net/ip_tunnels.h
datapath/linux/compat/ip_tunnels_core.c