summaryrefslogtreecommitdiff
path: root/include/net/llc.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-10-12 08:58:37 -0700
committerJakub Kicinski <kuba@kernel.org>2021-10-13 09:40:46 -0700
commit2ef6db76bac0f3006daceb9eeeaf5f09820b1caf (patch)
treef91f8d6188a7b4ef0546b89cdcfd671674cce181 /include/net/llc.h
parentdb95732446a86e310dbbe5f890fae6f0c719833b (diff)
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/llc.h')
-rw-r--r--include/net/llc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/llc.h b/include/net/llc.h
index df282d9b4017..fd1f9a3fd8dd 100644
--- a/include/net/llc.h
+++ b/include/net/llc.h
@@ -133,7 +133,7 @@ static inline void llc_sap_put(struct llc_sap *sap)
struct llc_sap *llc_sap_find(unsigned char sap_value);
int llc_build_and_send_ui_pkt(struct llc_sap *sap, struct sk_buff *skb,
- unsigned char *dmac, unsigned char dsap);
+ const unsigned char *dmac, unsigned char dsap);
void llc_sap_handler(struct llc_sap *sap, struct sk_buff *skb);
void llc_conn_handler(struct llc_sap *sap, struct sk_buff *skb);