]> 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)
commitf0e59b3756bdeca36d725c1f8dffe6d9585f7bca
treeef0596f29c69f50dc2fed1bbc9bf9cfcd879cdd7
parent92b61f2c999e5d84c0a1f973074cd57b4f93951d
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