diff options
author | Patrick McHardy <kaber@trash.net> | 2009-08-25 16:07:58 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-08-25 16:07:58 +0200 |
commit | 3993832464dd4e14a4c926583a11f0fa92c1f0f0 (patch) | |
tree | a84cdac586ee63e48f711ad93dec098ad84c1b6c /net/netfilter/xt_osf.c | |
parent | 3a6c2b419b7768703cfb2cabdb894517c5065e33 (diff) | |
download | op-kernel-dev-3993832464dd4e14a4c926583a11f0fa92c1f0f0.zip op-kernel-dev-3993832464dd4e14a4c926583a11f0fa92c1f0f0.tar.gz |
netfilter: nfnetlink: constify message attributes and headers
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter/xt_osf.c')
-rw-r--r-- | net/netfilter/xt_osf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/netfilter/xt_osf.c b/net/netfilter/xt_osf.c index 0f482e2..63e1905 100644 --- a/net/netfilter/xt_osf.c +++ b/net/netfilter/xt_osf.c @@ -70,7 +70,8 @@ static void xt_osf_finger_free_rcu(struct rcu_head *rcu_head) } static int xt_osf_add_callback(struct sock *ctnl, struct sk_buff *skb, - struct nlmsghdr *nlh, struct nlattr *osf_attrs[]) + const struct nlmsghdr *nlh, + const struct nlattr * const osf_attrs[]) { struct xt_osf_user_finger *f; struct xt_osf_finger *kf = NULL, *sf; @@ -112,7 +113,8 @@ static int xt_osf_add_callback(struct sock *ctnl, struct sk_buff *skb, } static int xt_osf_remove_callback(struct sock *ctnl, struct sk_buff *skb, - struct nlmsghdr *nlh, struct nlattr *osf_attrs[]) + const struct nlmsghdr *nlh, + const struct nlattr * const osf_attrs[]) { struct xt_osf_user_finger *f; struct xt_osf_finger *sf; |