diff options
author | 2021-10-12 08:58:38 -0700 | |
---|---|---|
committer | 2021-10-13 09:40:46 -0700 | |
commit | 1a8a23d2da4fec6f090ec26bbe76eab2b77410e9 (patch) | |
tree | a524ddf5c6fd2774906ba73dba670a761e380e16 /include | |
parent | llc/snap: constify dev_addr passing (diff) | |
download | linux-1a8a23d2da4fec6f090ec26bbe76eab2b77410e9.tar.gz linux-1a8a23d2da4fec6f090ec26bbe76eab2b77410e9.tar.bz2 linux-1a8a23d2da4fec6f090ec26bbe76eab2b77410e9.zip |
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')
-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 |