[NETROM]: NET/ROM has no ARP
authorRalf Baechle <ralf@linux-mips.org>
Mon, 12 Sep 2005 21:26:26 +0000 (14:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Sep 2005 21:26:26 +0000 (14:26 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/nr_dev.c

index 0559cc07ecd8d318d6cb8d46b7eeb4375a847375..909aa7f5074412368686b59a39315edc1a5292af 100644 (file)
@@ -198,7 +198,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;
 }