]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a690c6db3f4e91fc6578001f185a7344151ee3f
treee8808141e0c266a53944892785e55223f0f4dd26
parentbb7e06a43b390379967687254ea8ee8a54e012c2
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