aboutsummaryrefslogtreecommitdiff
path: root/net/llc/llc_output.c
diff options
context:
space:
mode:
authorJakub Kicinski2021-10-12 08:58:37 -0700
committerJakub Kicinski2021-10-13 09:40:46 -0700
commit2ef6db76bac0f3006daceb9eeeaf5f09820b1caf (patch)
treef91f8d6188a7b4ef0546b89cdcfd671674cce181 /net/llc/llc_output.c
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 'net/llc/llc_output.c')
-rw-r--r--net/llc/llc_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/llc_output.c b/net/llc/llc_output.c
index b9ad087bcbd7..5a6466fc626a 100644
--- a/net/llc/llc_output.c
+++ b/net/llc/llc_output.c
@@ -56,7 +56,7 @@ int llc_mac_hdr_init(struct sk_buff *skb,
* package primitive as an event and send to SAP event handler
*/
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)
{
int rc;
llc_pdu_header_init(skb, LLC_PDU_TYPE_U, sap->laddr.lsap,