OSDN Git Service

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)
commiteecd6857709e08781e41f3eb0e0c669d9ca07d87
tree875b527b9d811b135ac2f991c1d2695e8cc4e457
parenta3eed83a18954eb9433a8193c520619e21a028da
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: 4799ac81e52a ("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