ip_tunnel: Initialize the fallback device properly
authorSteffen Klassert <steffen.klassert@secunet.com>
Mon, 19 May 2014 09:36:56 +0000 (11:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 May 2014 06:08:32 +0000 (02:08 -0400)
commit78ff4be45a4c51d8fb21ad92e4fabb467c6c3eeb
tree9f1c3bf01d9415749e74eab8b8b9d62e49bd5036
parentd8d33c3b8a42fbd9ad23a61498fa5db1d83644e0
ip_tunnel: Initialize the fallback device properly

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>
net/ipv4/ip_tunnel.c