mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]>
This commit is contained in:
parent
74f7a6552c
commit
3a6c2b419b
5 changed files with 13 additions and 12 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue