Re: [PATCH v2] Allow ipv6 proxies and arp proxies be shown with iproute2

From
Thomas Graf <hidden>
Date
2012-01-27 10:35:25
Reply to
Tony Zelenoff, 2012-01-27
On Fri, Jan 27, 2012 at 12:28:58PM +0400, Tony Zelenoff wrote:
Add ability to return neighbour proxies list to caller if
it sent full ndmsg structure and has NTF_PROXY flag set.

Before this patch (and before iproute2 patches):
$ ip neigh add proxy 2001::1 dev eth0
$ ip -6 neigh show
$

After it and with applied iproute2 patches:
$ ip neigh add proxy 2001::1 dev eth0
$ ip -6 neigh show
2001::1 dev eth0  proxy
$

Compatibility with old versions of iproute2 is not broken,
kernel checks for incoming structure size and properly
works if old structure is came.

[v2]
* changed comments style.
* removed useless line with continue and curly bracket.
* changed incoming message size check from equal to more or
  equal.

CC: davem@davemloft.net
CC: <redacted>
CC: <redacted>
CC: <redacted>
Signed-off-by: Tony Zelenoff <redacted>
Acked-by: Thomas Graf <tgraf@suug.ch>
Thread (3 messages) 3 messages, 3 authors, last reply 2012-01-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help