aboutsummaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2009-08-25 10:07:40 -0400
committerPatrick McHardy <kaber@trash.net>2009-08-25 10:07:40 -0400
commit3a6c2b419b7768703cfb2cabdb894517c5065e33 (patch)
treed8d8dc9ad34ffdd2f0f56876e9d3b6f0e6d5eceb /net/netlink
parent74f7a6552c8d76ffc5e11eb8d9d6c07238b9ae77 (diff)
netlink: constify nlmsghdr arguments
Consitfy nlmsghdr arguments to a couple of functions as preparation for the next patch, which will constify the netlink message data in all nfnetlink users. Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netlink')
-rw-r--r--net/netlink/af_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index da3163d15ef0..d0ff382c40ca 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -1705,7 +1705,7 @@ errout:
1705} 1705}
1706 1706
1707int netlink_dump_start(struct sock *ssk, struct sk_buff *skb, 1707int netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
1708 struct nlmsghdr *nlh, 1708 const struct nlmsghdr *nlh,
1709 int (*dump)(struct sk_buff *skb, 1709 int (*dump)(struct sk_buff *skb,
1710 struct netlink_callback *), 1710 struct netlink_callback *),
1711 int (*done)(struct netlink_callback *)) 1711 int (*done)(struct netlink_callback *))