Re: [net-next] arp: add macro to get drop_gratuitous_arp setting

2016-03-10 Thread David Miller
From: Zhang Shengju Date: Tue, 8 Mar 2016 07:53:50 + > Add macro IN_DEV_DROP_GRATUITOUS_ARP to facilitate getting > drop_gratuitous_arp value. > > Signed-off-by: Zhang Shengju As it's used in one location, I see zero value in this, sorry. I'm not applying this patch.

[net-next] arp: add macro to get drop_gratuitous_arp setting

2016-03-07 Thread Zhang Shengju
Add macro IN_DEV_DROP_GRATUITOUS_ARP to facilitate getting drop_gratuitous_arp value. Signed-off-by: Zhang Shengju --- include/linux/inetdevice.h | 3 +++ net/ipv4/arp.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/linux/inetdevice.h b/include/linux/i