diff options
author | Patrick McHardy <kaber@trash.net> | 2007-06-05 15:38:30 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-06-07 16:40:10 -0400 |
commit | ef7c79ed645f52bcbdd88f8d54a9702c4d3fd15d (patch) | |
tree | 4c27ec3362d958b99672366437d5eb6038dd561d /include/net/genetlink.h | |
parent | 14a49e1fd2bb91ba2bf0e1f06711b6dbc21de02d (diff) |
[NETLINK]: Mark netlink policies const
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/genetlink.h')
-rw-r--r-- | include/net/genetlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/genetlink.h b/include/net/genetlink.h index adff4c898d50..b6eaca122db8 100644 --- a/include/net/genetlink.h +++ b/include/net/genetlink.h | |||
@@ -60,7 +60,7 @@ struct genl_ops | |||
60 | { | 60 | { |
61 | u8 cmd; | 61 | u8 cmd; |
62 | unsigned int flags; | 62 | unsigned int flags; |
63 | struct nla_policy *policy; | 63 | const struct nla_policy *policy; |
64 | int (*doit)(struct sk_buff *skb, | 64 | int (*doit)(struct sk_buff *skb, |
65 | struct genl_info *info); | 65 | struct genl_info *info); |
66 | int (*dumpit)(struct sk_buff *skb, | 66 | int (*dumpit)(struct sk_buff *skb, |