]> git.baikalelectronics.ru Git - kernel.git/commit
tls: Fix copy-paste error in tls_device_reencrypt
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Wed, 18 Jul 2018 13:27:41 +0000 (08:27 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jul 2018 19:12:45 +0000 (12:12 -0700)
commitc3138e91e67032d6ca19ad49420d3f2c4117d4dc
tree875b527b9d811b135ac2f991c1d2695e8cc4e457
parent0f812ea3300b43111eb0c1448cbeae32f9567d81
tls: Fix copy-paste error in tls_device_reencrypt

It seems that the proper structure to use in this particular
case is *skb_iter* instead of skb.

Addresses-Coverity-ID: 1471906 ("Copy-paste error")
Fixes: 512639d24cd0 ("tls: Add rx inline crypto offload")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_device.c