]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfd859e9c2dd36676a8b0a6bec372381ce002ecf3
tree9f1c3bf01d9415749e74eab8b8b9d62e49bd5036
parentaa65d8d512464b7b640658fd5d6006d723379c7a
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: 3b879fe658f2 ("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