diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2009-05-19 17:24:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-19 17:24:37 -0400 |
commit | 8b2d850db275a8934db7e09d79a716435c7b3e0c (patch) | |
tree | 92db6624cff41fd025a731892a110aadd65cdbd6 /drivers/net/ppp_generic.c | |
parent | 93f154b594fe47e4a7e5358b309add449a046cd3 (diff) |
ppp: unset IFF_XMIT_DST_RELEASE in ppp_setup()
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>
Diffstat (limited to 'drivers/net/ppp_generic.c')
-rw-r--r-- | drivers/net/ppp_generic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c index 8ee91421db12..639d11bc444e 100644 --- a/drivers/net/ppp_generic.c +++ b/drivers/net/ppp_generic.c | |||
@@ -1054,6 +1054,7 @@ static void ppp_setup(struct net_device *dev) | |||
1054 | dev->type = ARPHRD_PPP; | 1054 | dev->type = ARPHRD_PPP; |
1055 | dev->flags = IFF_POINTOPOINT | IFF_NOARP | IFF_MULTICAST; | 1055 | dev->flags = IFF_POINTOPOINT | IFF_NOARP | IFF_MULTICAST; |
1056 | dev->features |= NETIF_F_NETNS_LOCAL; | 1056 | dev->features |= NETIF_F_NETNS_LOCAL; |
1057 | dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; | ||
1057 | } | 1058 | } |
1058 | 1059 | ||
1059 | /* | 1060 | /* |