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>
This commit is contained in:
@ -1705,7 +1705,7 @@ errout:
|
||||
}
|
||||
|
||||
int netlink_dump_start(struct sock *ssk, struct sk_buff *skb,
|
||||
struct nlmsghdr *nlh,
|
||||
const struct nlmsghdr *nlh,
|
||||
int (*dump)(struct sk_buff *skb,
|
||||
struct netlink_callback *),
|
||||
int (*done)(struct netlink_callback *))
|
||||
|
Reference in New Issue
Block a user