]> Pileus Git - ~andy/linux/blobdiff - net/sched/act_api.c
netlink: constify nlmsghdr arguments
[~andy/linux] / net / sched / act_api.c
index 9d03cc33b6ccbfab51e3fe65eadd10b3b84eb101..2dfb3e7a040df7727d79f874e31ee6c1dfbaff8c 100644 (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];