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:
Patrick McHardy
2009-08-25 16:07:40 +02:00
parent 74f7a6552c
commit 3a6c2b419b
5 changed files with 13 additions and 12 deletions

View File

@ -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];