]> git.baikalelectronics.ru Git - kernel.git/commit
[NETNS]: Process inet_confirm_addr in the correct namespace.
authorDenis V. Lunev <den@openvz.org>
Tue, 15 Jan 2008 07:06:19 +0000 (23:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:02:13 +0000 (15:02 -0800)
commit988cdafb53d6279f85e7c142de48564d4d579f44
tree7f47f52708e17eed923cfbbc56e348ab4c573cb9
parent8967944bb72bed86b205f62f22fb51fef6969ce6
[NETNS]: Process inet_confirm_addr in the correct namespace.

inet_confirm_addr can be called with NULL in_dev from arp_ignore iff
scope is RT_SCOPE_LINK.

Lets always pass the device and check for RT_SCOPE_LINK scope inside
inet_confirm_addr. This let us take network namespace from in_device a
need for an additional argument.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c
net/ipv4/devinet.c