ip_gre: Fix bug added to ipgre_tunnel_xmit().
authorDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2012 23:23:30 +0000 (18:23 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2012 23:23:30 +0000 (18:23 -0500)
commit61d57f87f3fb04a305f22befabd042ffbec8b852
treeef0596f29c69f50dc2fed1bbc9bf9cfcd879cdd7
parent658c8d964eb3cdb7e4230a59ba09c75a3359ee4a
ip_gre: Fix bug added to ipgre_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/ip_gre.c