projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
netfilter: nfnetlink: pass down netns pointer to call() and call_rcu()
[cascardo/linux.git]
/
net
/
netfilter
/
xt_osf.c
diff --git
a/net/netfilter/xt_osf.c
b/net/netfilter/xt_osf.c
index
df8801e
..
4e3c3af
100644
(file)
--- a/
net/netfilter/xt_osf.c
+++ b/
net/netfilter/xt_osf.c
@@
-61,8
+61,8
@@
static const struct nla_policy xt_osf_policy[OSF_ATTR_MAX + 1] = {
[OSF_ATTR_FINGER] = { .len = sizeof(struct xt_osf_user_finger) },
};
[OSF_ATTR_FINGER] = { .len = sizeof(struct xt_osf_user_finger) },
};
-static int xt_osf_add_callback(struct
sock *ctnl, struct sk_buff *skb
,
- const struct nlmsghdr *nlh,
+static int xt_osf_add_callback(struct
net *net, struct sock *ctnl
,
+
struct sk_buff *skb,
const struct nlmsghdr *nlh,
const struct nlattr * const osf_attrs[])
{
struct xt_osf_user_finger *f;
const struct nlattr * const osf_attrs[])
{
struct xt_osf_user_finger *f;
@@
-104,7
+104,8
@@
static int xt_osf_add_callback(struct sock *ctnl, struct sk_buff *skb,
return err;
}
return err;
}
-static int xt_osf_remove_callback(struct sock *ctnl, struct sk_buff *skb,
+static int xt_osf_remove_callback(struct net *net, struct sock *ctnl,
+ struct sk_buff *skb,
const struct nlmsghdr *nlh,
const struct nlattr * const osf_attrs[])
{
const struct nlmsghdr *nlh,
const struct nlattr * const osf_attrs[])
{