diff options
author | Joe Perches <joe@perches.com> | 2013-10-17 22:34:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-18 20:42:15 +0200 |
commit | 9877b25382e770618d0a36a3024d8a3c67eee9ea (patch) | |
tree | 01c1c1a0badbbd54c5757139dee8f30edc9e01aa /net/ipv4/fib_semantics.c | |
parent | ax25: cleanup a range test (diff) | |
download | linux-9877b25382e770618d0a36a3024d8a3c67eee9ea.tar.xz linux-9877b25382e770618d0a36a3024d8a3c67eee9ea.zip |
fib: Use const struct nl_info * in rtmsg_fib
The rtmsg_fib function doesn't modify this argument so mark
it const.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
-rw-r--r-- | net/ipv4/fib_semantics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c index d5dbca5ecf62..e63f47a4e651 100644 --- a/net/ipv4/fib_semantics.c +++ b/net/ipv4/fib_semantics.c @@ -380,7 +380,7 @@ static inline size_t fib_nlmsg_size(struct fib_info *fi) } void rtmsg_fib(int event, __be32 key, struct fib_alias *fa, - int dst_len, u32 tb_id, struct nl_info *info, + int dst_len, u32 tb_id, const struct nl_info *info, unsigned int nlm_flags) { struct sk_buff *skb; |