]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit0e6bd4a1c6c3881c9ed82985ecb9824d4450c4ba
tree6a8e2513b1c5b3285a559fccf70100b8fe8826e3
parentffc31d3d7719555cd784ecaf82e9c237f3a747ab
[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