ipip: Fix bug added to ipip_tunnel_xmit().
authorDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2012 23:18:05 +0000 (18:18 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2012 23:18:05 +0000 (18:18 -0500)
commit658c8d964eb3cdb7e4230a59ba09c75a3359ee4a
treee8808141e0c266a53944892785e55223f0f4dd26
parent496053f488fc2d859e41574f3421993826d2d0eb
ipip: Fix bug added to ipip_tunnel_xmit().

We can remove the rt_gateway == 0 check but we shouldn't
remove the 'dst' initialization too.

Noticed by Eric Dumazet.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipip.c