diff options
author | Patrick McHardy <kaber@trash.net> | 2009-08-25 10:07:58 -0400 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-08-25 10:07:58 -0400 |
commit | 3993832464dd4e14a4c926583a11f0fa92c1f0f0 (patch) | |
tree | a84cdac586ee63e48f711ad93dec098ad84c1b6c /net/netfilter/xt_osf.c | |
parent | 3a6c2b419b7768703cfb2cabdb894517c5065e33 (diff) |
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 0f482e2440b..63e19050465 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) | |||
70 | } | 70 | } |
71 | 71 | ||
72 | static int xt_osf_add_callback(struct sock *ctnl, struct sk_buff *skb, | 72 | static int xt_osf_add_callback(struct sock *ctnl, struct sk_buff *skb, |
73 | struct nlmsghdr *nlh, struct nlattr *osf_attrs[]) | 73 | const struct nlmsghdr *nlh, |
74 | const struct nlattr * const osf_attrs[]) | ||
74 | { | 75 | { |
75 | struct xt_osf_user_finger *f; | 76 | struct xt_osf_user_finger *f; |
76 | struct xt_osf_finger *kf = NULL, *sf; | 77 | struct xt_osf_finger *kf = NULL, *sf; |
@@ -112,7 +113,8 @@ static int xt_osf_add_callback(struct sock *ctnl, struct sk_buff *skb, | |||
112 | } | 113 | } |
113 | 114 | ||
114 | static int xt_osf_remove_callback(struct sock *ctnl, struct sk_buff *skb, | 115 | static int xt_osf_remove_callback(struct sock *ctnl, struct sk_buff *skb, |
115 | struct nlmsghdr *nlh, struct nlattr *osf_attrs[]) | 116 | const struct nlmsghdr *nlh, |
117 | const struct nlattr * const osf_attrs[]) | ||
116 | { | 118 | { |
117 | struct xt_osf_user_finger *f; | 119 | struct xt_osf_user_finger *f; |
118 | struct xt_osf_finger *sf; | 120 | struct xt_osf_finger *sf; |