diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-24 22:29:55 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-24 22:29:55 (GMT) |
commit | f2c4802b3fdfb0d9596d932ca2af0ef6f8d60491 (patch) | |
tree | b6bf506c01a921040c8d91ff8507465ebdcd72e3 /include/net/ip.h | |
parent | 0e6bd4a1c6c3881c9ed82985ecb9824d4450c4ba (diff) | |
download | linux-fsl-qoriq-f2c4802b3fdfb0d9596d932ca2af0ef6f8d60491.tar.xz |
[NETNS]: Add namespace parameter to ip_options_get(...).
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>
Diffstat (limited to 'include/net/ip.h')
-rw-r--r-- | include/net/ip.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index bcc3afa..531270d 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -349,9 +349,9 @@ extern int ip_options_echo(struct ip_options *dopt, struct sk_buff *skb); extern void ip_options_fragment(struct sk_buff *skb); extern int ip_options_compile(struct net *net, struct ip_options *opt, struct sk_buff *skb); -extern int ip_options_get(struct ip_options **optp, +extern int ip_options_get(struct net *net, struct ip_options **optp, unsigned char *data, int optlen); -extern int ip_options_get_from_user(struct ip_options **optp, +extern int ip_options_get_from_user(struct net *net, struct ip_options **optp, unsigned char __user *data, int optlen); extern void ip_options_undo(struct ip_options * opt); extern void ip_forward_options(struct sk_buff *skb); |