diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-12 18:58:38 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-13 19:40:46 +0300 |
commit | 1a8a23d2da4fec6f090ec26bbe76eab2b77410e9 (patch) | |
tree | a524ddf5c6fd2774906ba73dba670a761e380e16 /include/net | |
parent | 2ef6db76bac0f3006daceb9eeeaf5f09820b1caf (diff) | |
download | linux-1a8a23d2da4fec6f090ec26bbe76eab2b77410e9.tar.xz |
ipv6: constify dev_addr passing
In preparation for netdev->dev_addr being constant
make all relevant arguments in ndisc constant.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ndisc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ndisc.h b/include/net/ndisc.h index 38e4094960ce..04341d86585d 100644 --- a/include/net/ndisc.h +++ b/include/net/ndisc.h @@ -137,7 +137,7 @@ struct ndisc_options *ndisc_parse_options(const struct net_device *dev, u8 *opt, int opt_len, struct ndisc_options *ndopts); -void __ndisc_fill_addr_option(struct sk_buff *skb, int type, void *data, +void __ndisc_fill_addr_option(struct sk_buff *skb, int type, const void *data, int data_len, int pad); #define NDISC_OPS_REDIRECT_DATA_SPACE 2 |