diff options
author | Denis V. Lunev <den@openvz.org> | 2008-03-24 18:29:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-24 18:29:55 -0400 |
commit | f2c4802b3fdfb0d9596d932ca2af0ef6f8d60491 (patch) | |
tree | b6bf506c01a921040c8d91ff8507465ebdcd72e3 /include/net | |
parent | 0e6bd4a1c6c3881c9ed82985ecb9824d4450c4ba (diff) |
[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')
-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 bcc3afa3df36..531270dc48a6 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); | |||
349 | extern void ip_options_fragment(struct sk_buff *skb); | 349 | extern void ip_options_fragment(struct sk_buff *skb); |
350 | extern int ip_options_compile(struct net *net, | 350 | extern int ip_options_compile(struct net *net, |
351 | struct ip_options *opt, struct sk_buff *skb); | 351 | struct ip_options *opt, struct sk_buff *skb); |
352 | extern int ip_options_get(struct ip_options **optp, | 352 | extern int ip_options_get(struct net *net, struct ip_options **optp, |
353 | unsigned char *data, int optlen); | 353 | unsigned char *data, int optlen); |
354 | extern int ip_options_get_from_user(struct ip_options **optp, | 354 | extern int ip_options_get_from_user(struct net *net, struct ip_options **optp, |
355 | unsigned char __user *data, int optlen); | 355 | unsigned char __user *data, int optlen); |
356 | extern void ip_options_undo(struct ip_options * opt); | 356 | extern void ip_options_undo(struct ip_options * opt); |
357 | extern void ip_forward_options(struct sk_buff *skb); | 357 | extern void ip_forward_options(struct sk_buff *skb); |