]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ipv6: silence log messages for locally generated multicast
authorJan Sembera <jsembera@suse.cz>
Tue, 9 Dec 2008 23:48:32 +0000 (15:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Dec 2008 23:48:32 +0000 (15:48 -0800)
commit24fc7b86dc0470616803be2f921c8cd5c459175d
tree0bcb5ae6211c642eb2f8a6e150243ac7c44da1eb
parentfbf0229e946deb9e6c711f9eaa5c8d670c3a28fd
ipv6: silence log messages for locally generated multicast

This patch fixes minor annoyance during transmission of unsolicited
neighbor advertisements from userspace to multicast addresses (as
far as I can see in RFC, this is allowed and the similar functionality
for IPv4 has been in arping for a long time).

Outgoing multicast packets get reinserted into local processing as if they
are received from the network. The machine thus sees its own NA and fills
the logs with error messages. This patch removes the message if NA has been
generated locally.

Signed-off-by: Jan Sembera <jsembera@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c