Browse Source

[NETROM]: NET/ROM has no ARP

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>
Ralf Baechle 20 năm trước cách đây
mục cha
commit
723772913e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      net/netrom/nr_dev.c

+ 1 - 1
net/netrom/nr_dev.c

@@ -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;
 }