From: Ralf Baechle Date: Mon, 12 Sep 2005 21:26:26 +0000 (-0700) Subject: [NETROM]: NET/ROM has no ARP X-Git-Tag: v2.6.14-rc1~7^2~6 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=723772913e6caf82919754f9d73fa55fc762bb1b;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: David S. Miller --- diff --git a/net/netrom/nr_dev.c b/net/netrom/nr_dev.c index 0559cc07ecd..909aa7f5074 100644 --- a/net/netrom/nr_dev.c +++ b/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; }