diff --git a/net/tls/tls_device.c b/net/tls/tls_device.c index 4995d84d228d4b8c5c076968fc46329febf34640..1e968d238adf9139780b980e36483c8221f37227 100644 --- a/net/tls/tls_device.c +++ b/net/tls/tls_device.c @@ -615,7 +615,7 @@ static int tls_device_reencrypt(struct sock *sk, struct sk_buff *skb) TLS_CIPHER_AES_GCM_128_TAG_SIZE); if (skb_iter->decrypted) - skb_store_bits(skb, offset, buf, copy); + skb_store_bits(skb_iter, offset, buf, copy); offset += copy; buf += copy;