diff options
author | 2021-10-12 08:58:37 -0700 | |
---|---|---|
committer | 2021-10-13 09:40:46 -0700 | |
commit | 2ef6db76bac0f3006daceb9eeeaf5f09820b1caf (patch) | |
tree | f91f8d6188a7b4ef0546b89cdcfd671674cce181 /include/net/datalink.h | |
parent | rose: constify dev_addr passing (diff) | |
download | wireguard-linux-2ef6db76bac0f3006daceb9eeeaf5f09820b1caf.tar.xz wireguard-linux-2ef6db76bac0f3006daceb9eeeaf5f09820b1caf.zip |
llc/snap: constify dev_addr passing
In preparation for netdev->dev_addr being constant
make all relevant arguments in LLC and SNAP constant.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/datalink.h')
-rw-r--r-- | include/net/datalink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/datalink.h b/include/net/datalink.h index a9663229b913..d9b7faaa539f 100644 --- a/include/net/datalink.h +++ b/include/net/datalink.h @@ -12,7 +12,7 @@ struct datalink_proto { int (*rcvfunc)(struct sk_buff *, struct net_device *, struct packet_type *, struct net_device *); int (*request)(struct datalink_proto *, struct sk_buff *, - unsigned char *); + const unsigned char *); struct list_head node; }; |