diff options
author | Patrick McHardy <kaber@trash.net> | 2009-08-25 16:07:40 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-08-25 16:07:40 +0200 |
commit | 3a6c2b419b7768703cfb2cabdb894517c5065e33 (patch) | |
tree | d8d8dc9ad34ffdd2f0f56876e9d3b6f0e6d5eceb /net/sched/act_api.c | |
parent | 74f7a6552c8d76ffc5e11eb8d9d6c07238b9ae77 (diff) | |
download | op-kernel-dev-3a6c2b419b7768703cfb2cabdb894517c5065e33.zip op-kernel-dev-3a6c2b419b7768703cfb2cabdb894517c5065e33.tar.gz |
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/sched/act_api.c')
-rw-r--r-- | net/sched/act_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 9d03cc3..2dfb3e7 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -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]; |