projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a489e51
)
net: unset IFF_XMIT_DST_RELEASE in ipgre_tunnel_setup()
author
Eric Dumazet
<eric.dumazet@gmail.com>
Thu, 28 May 2009 22:35:10 +0000
(22:35 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 29 May 2009 08:46:29 +0000
(
01:46
-0700)
ipgre_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/ip_gre.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/ip_gre.c
b/net/ipv4/ip_gre.c
index e62510d5ea5a60df6b806342e870ace458108962..77436e2732eb4e96fb6778b86de84c9565900f06 100644
(file)
--- a/
net/ipv4/ip_gre.c
+++ b/
net/ipv4/ip_gre.c
@@
-1238,6
+1238,7
@@
static void ipgre_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 int ipgre_tunnel_init(struct net_device *dev)