projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdd0db0
)
net: unset IFF_XMIT_DST_RELEASE in ipip_tunnel_setup()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Thu, 28 May 2009 10:44:30 +0000
(10:44 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 29 May 2009 08:46:27 +0000
(
01:46
-0700)
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>
net/ipv4/ipip.c
patch
|
blob
|
history
diff --git
a/net/ipv4/ipip.c
b/net/ipv4/ipip.c
index 9054139795af480757357dc626815296666f8919..bb2f1b17fbf130982f3f88f1bbb22bc1e7c3a111 100644
(file)
--- a/
net/ipv4/ipip.c
+++ b/
net/ipv4/ipip.c
@@
-713,6
+713,7
@@
static void ipip_tunnel_setup(struct net_device *dev)
dev->iflink = 0;
dev->addr_len = 4;
dev->features |= NETIF_F_NETNS_LOCAL;
+ dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;
}
static void ipip_tunnel_init(struct net_device *dev)