netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH  9/12] NET/ROM has no ARP
@ 2005-09-11 22:19 Ralf Baechle DL5RB
  0 siblings, 0 replies; only message in thread
From: Ralf Baechle DL5RB @ 2005-09-11 22:19 UTC (permalink / raw)
  To: David S. Miller, netdev, linux-hams

ARP over NET/ROM does not exist so it's obviously not implemented on any
NET/ROM stack, so the NET/ROM interfaces really should default to IFF_NOARP.

Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>

 net/netrom/nr_dev.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-cvs/net/netrom/nr_dev.c
===================================================================
--- linux-cvs.orig/net/netrom/nr_dev.c
+++ linux-cvs/net/netrom/nr_dev.c
@@ -191,7 +191,7 @@ void nr_setup(struct net_device *dev)
 	dev->set_mac_address    = nr_set_mac_address;
 
 	/* New-style flags. */
-	dev->flags		= 0;
+	dev->flags		= IFF_NOARP;
 
 	dev->get_stats 		= nr_get_stats;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-09-11 22:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-11 22:19 [PATCH 9/12] NET/ROM has no ARP Ralf Baechle DL5RB

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).