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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user