Patchwork [RFC,net-next,1/3] ppp: remove NETIF_F_NETNS_LOCAL from ppp device features.

login
register
mail settings
Submitter Rami Rosen
Date Jan. 3, 2013, 9:25 a.m.
Message ID <1357205121-4700-2-git-send-email-ramirose@gmail.com>
Download mbox | patch
Permalink /patch/209197/
State RFC
Delegated to: David Miller
Headers show

Comments

Rami Rosen - Jan. 3, 2013, 9:25 a.m.
There is no need for NETIF_F_NETNS_LOCAL for ppp device; this patch removes it.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
---
 drivers/net/ppp/ppp_generic.c | 1 -
 1 file changed, 1 deletion(-)

Patch

diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c
index 0b2706a..89b6fc5 100644
--- a/drivers/net/ppp/ppp_generic.c
+++ b/drivers/net/ppp/ppp_generic.c
@@ -1073,7 +1073,6 @@  static void ppp_setup(struct net_device *dev)
 	dev->tx_queue_len = 3;
 	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;
 }