]> git.karo-electronics.de Git - linux-beck.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)
commit39a6d06300128d32f361f4f790beba0ca83730eb
tree7f47f52708e17eed923cfbbc56e348ab4c573cb9
parent9bd85e32644d4d3744117b0a196ad4382f8acf35
[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