]> git.baikalelectronics.ru Git - kernel.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)
commitdb3d1e029572455350a01aaf2e8c87dd68b9ced4
tree0bcb5ae6211c642eb2f8a6e150243ac7c44da1eb
parent22a503c8f2a5da882df7cc5e35eabfe38c5bde3a
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