]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7bba50db6ef63771ac7b13ace81f4016b180a6f2
treeef0596f29c69f50dc2fed1bbc9bf9cfcd879cdd7
parent5a690c6db3f4e91fc6578001f185a7344151ee3f
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