OSDN Git Service

tls: rx: don't include tail size in data_len
authorJakub Kicinski <kuba@kernel.org>
Tue, 5 Jul 2022 23:59:22 +0000 (16:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jul 2022 11:56:35 +0000 (12:56 +0100)
commit603380f54f837a7837c30713de25cb146254a0d7
treee2c2f98193bf5a70af63211103a85ad7c11432ac
parent2ef8e39f58f08589ab035223c2687830c0eba30f
tls: rx: don't include tail size in data_len

To make future patches easier to review make data_len
contain the length of the data, without the tail.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c