diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-05-28 06:44:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-29 04:46:27 -0400 |
commit | 28e72216d7e7af7050f171a87c1eecba93d01ea6 (patch) | |
tree | f29f63e75b5b3e9af58b043d7aa5b1b85dc15b4b /net/ipv4 | |
parent | cdd0db058d64f2619b08e7d098ee0014aa0a5bc1 (diff) |
net: unset IFF_XMIT_DST_RELEASE in ipip_tunnel_setup()
ipip_tunnel_xmit() might need skb->dst, so tell dev_hard_start_xmit()
to no release it.
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/ipip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index 9054139795af..bb2f1b17fbf1 100644 --- a/net/ipv4/ipip.c +++ b/net/ipv4/ipip.c | |||
@@ -713,6 +713,7 @@ static void ipip_tunnel_setup(struct net_device *dev) | |||
713 | dev->iflink = 0; | 713 | dev->iflink = 0; |
714 | dev->addr_len = 4; | 714 | dev->addr_len = 4; |
715 | dev->features |= NETIF_F_NETNS_LOCAL; | 715 | dev->features |= NETIF_F_NETNS_LOCAL; |
716 | dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; | ||
716 | } | 717 | } |
717 | 718 | ||
718 | static void ipip_tunnel_init(struct net_device *dev) | 719 | static void ipip_tunnel_init(struct net_device *dev) |