]> git.baikalelectronics.ru Git - kernel.git/commit
[NETNS]: Add namespace parameter to ip_options_compile.
authorDenis V. Lunev <den@openvz.org>
Mon, 24 Mar 2008 22:29:23 +0000 (15:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Mar 2008 22:29:23 +0000 (15:29 -0700)
commitd78513af94c66a1a8088e44fde0baa51b22b2272
tree6a8e2513b1c5b3285a559fccf70100b8fe8826e3
parenteae57b312efa4912d8b534eb9c5dd2b3fe7b6ec6
[NETNS]: Add namespace parameter to ip_options_compile.

ip_options_compile uses inet_addr_type which requires a namespace. The
packet argument is optional, so parameter is the only way to obtain
it. Pass the init_net there for now.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/ip_input.c
net/ipv4/ip_options.c