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:
@ -1011,7 +1011,7 @@ replay:
|
||||
}
|
||||
|
||||
static struct nlattr *
|
||||
find_dump_kind(struct nlmsghdr *n)
|
||||
find_dump_kind(const struct nlmsghdr *n)
|
||||
{
|
||||
struct nlattr *tb1, *tb2[TCA_ACT_MAX+1];
|
||||
struct nlattr *tb[TCA_ACT_MAX_PRIO + 1];
|
||||
|
Reference in New Issue
Block a user