Re: [PATCH net] arp: filter NOARP neighbours for SIOCGARP

2015-07-29 Thread Eric Dumazet
On Wed, 2015-07-29 at 11:15 +0200, Eric Dumazet wrote: > On Tue, 2015-07-28 at 23:41 -0700, David Miller wrote: > > > Applied, thanks Eric. > Thanks David > > Note that IPv6 is completely broken after 'arp off' sequence. It seems we need to replicate what commit 6c8b4e3ff81b82fc153625e81e60af1d8

Re: [PATCH net] arp: filter NOARP neighbours for SIOCGARP

2015-07-29 Thread Eric Dumazet
On Tue, 2015-07-28 at 23:41 -0700, David Miller wrote: > Applied, thanks Eric. Thanks David Note that IPv6 is completely broken after 'arp off' sequence. ND destination MAC are a copy of eth0 MAC address, instead of the required multicast. lpaa23:~# ip link set dev eth0 arp off lpaa23:~# ping6

Re: [PATCH net] arp: filter NOARP neighbours for SIOCGARP

2015-07-28 Thread David Miller
From: Eric Dumazet Date: Mon, 27 Jul 2015 11:33:50 +0200 > From: Eric Dumazet > > When arp is off on a device, and ioctl(SIOCGARP) is queried, > a buggy answer is given with MAC address of the device, instead > of the mac address of the destination/gateway. > > We filter out NUD_NOARP neighbou

[PATCH net] arp: filter NOARP neighbours for SIOCGARP

2015-07-27 Thread Eric Dumazet
From: Eric Dumazet When arp is off on a device, and ioctl(SIOCGARP) is queried, a buggy answer is given with MAC address of the device, instead of the mac address of the destination/gateway. We filter out NUD_NOARP neighbours for /proc/net/arp, we must do the same for SIOCGARP ioctl. Tested: l