diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-12 17:58:37 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-13 18:40:46 +0200 |
commit | 2ef6db76bac0f3006daceb9eeeaf5f09820b1caf (patch) | |
tree | f91f8d6188a7b4ef0546b89cdcfd671674cce181 /net/llc/llc_c_ac.c | |
parent | rose: constify dev_addr passing (diff) | |
download | linux-2ef6db76bac0f3006daceb9eeeaf5f09820b1caf.tar.xz 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 'net/llc/llc_c_ac.c')
-rw-r--r-- | net/llc/llc_c_ac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/llc_c_ac.c b/net/llc/llc_c_ac.c index 647c0554d04c..40ca3c1e42a2 100644 --- a/net/llc/llc_c_ac.c +++ b/net/llc/llc_c_ac.c @@ -781,7 +781,7 @@ int llc_conn_ac_send_sabme_cmd_p_set_x(struct sock *sk, struct sk_buff *skb) if (nskb) { struct llc_sap *sap = llc->sap; - u8 *dmac = llc->daddr.mac; + const u8 *dmac = llc->daddr.mac; if (llc->dev->flags & IFF_LOOPBACK) dmac = llc->dev->dev_addr; |