From: Ralf Baechle Date: Mon, 12 Sep 2005 21:26:26 +0000 (-0700) Subject: [NETROM]: NET/ROM has no ARP X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=723772913e6caf82919754f9d73fa55fc762bb1b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.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 0559cc07ecd8..909aa7f50744 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; }