mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
[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>
This commit is contained in:
parent
0e6bd4a1c6
commit
f2c4802b3f
3 changed files with 12 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue