ip_tunnel: Initialize the fallback device properly
authorSteffen Klassert <steffen.klassert@secunet.com>
Mon, 19 May 2014 09:36:56 +0000 (11:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 20:20:39 +0000 (13:20 -0700)
commit49da0655e28b5bf9d869e1c50c15c990c5db5f94
tree8bc1c97a830e78943132e3faeea4c648244ddebb
parent39f95dfd2c76415d03489aef9674638e00c95055
ip_tunnel: Initialize the fallback device properly

[ Upstream commit 78ff4be45a4c51d8fb21ad92e4fabb467c6c3eeb ]

We need to initialize the fallback device to have a correct mtu
set on this device. Otherwise the mtu is set to null and the device
is unusable.

Fixes: fd58156e456d ("IPIP: Use ip-tunneling code.")
Cc: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/ip_tunnel.c