projects
/
GitHub
/
LineageOS
/
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:
93f154b
)
ppp: unset IFF_XMIT_DST_RELEASE in ppp_setup()
author
Eric Dumazet
<dada1@cosmosbay.com>
Tue, 19 May 2009 21:24:37 +0000
(14:24 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 19 May 2009 21:24:37 +0000
(14:24 -0700)
Jarek pointed pppoe can call back dev_queue_xmit(), and might need
skb->dst, so its safer to unset IFF_XMIT_DST_RELEASE on ppp devices.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp_generic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/ppp_generic.c
b/drivers/net/ppp_generic.c
index 8ee91421db12133634a922d2d8d70c933e22c248..639d11bc444e8a07a88c50beaddf9f867f126aee 100644
(file)
--- a/
drivers/net/ppp_generic.c
+++ b/
drivers/net/ppp_generic.c
@@
-1054,6
+1054,7
@@
static void ppp_setup(struct net_device *dev)
dev->type = ARPHRD_PPP;
dev->flags = IFF_POINTOPOINT | IFF_NOARP | IFF_MULTICAST;
dev->features |= NETIF_F_NETNS_LOCAL;
+ dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;
}
/*