diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-10-12 08:58:37 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-10-13 09:40:46 -0700 |
commit | 2ef6db76bac0f3006daceb9eeeaf5f09820b1caf (patch) | |
tree | f91f8d6188a7b4ef0546b89cdcfd671674cce181 /net/802/psnap.c | |
parent | db95732446a86e310dbbe5f890fae6f0c719833b (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/802/psnap.c')
-rw-r--r-- | net/802/psnap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/802/psnap.c b/net/802/psnap.c index 4492e8d7ad20..1406bfdbda13 100644 --- a/net/802/psnap.c +++ b/net/802/psnap.c @@ -79,7 +79,7 @@ drop: * Put a SNAP header on a frame and pass to 802.2 */ static int snap_request(struct datalink_proto *dl, - struct sk_buff *skb, u8 *dest) + struct sk_buff *skb, const u8 *dest) { memcpy(skb_push(skb, 5), dl->type, 5); llc_build_and_send_ui_pkt(snap_sap, skb, dest, snap_sap->laddr.lsap); |