datapath: tunnel: Fix gre64 tunnel when key not specified.
authorPravin B Shelar <pshelar@nicira.com>
Thu, 15 Aug 2013 00:31:57 +0000 (17:31 -0700)
committerPravin B Shelar <pshelar@nicira.com>
Tue, 13 Aug 2013 07:12:37 +0000 (00:12 -0700)
commit3b00e887bbc24bd5e88de9b1a92243e31e1e0eed
tree909ef35d1e1e0d71a8c159f02edcf0c1b7064e19
parenta88aeffd4d4309b22608e2f73324da4f07d0b5d9
datapath: tunnel: Fix gre64 tunnel when key not specified.

User is allowed to create tunnel without any keys.  In this
case userspace set tunnel action does not set tun-key flag
which was confusing gre64 vport header calculations.  Following
patch fixes it by always assuming TUNNEL_KEY parameter as we
do it with tun-seq.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Bug #19121
datapath/vport-gre.c