summaryrefslogtreecommitdiff
path: root/net/dccp
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-05-16 18:50:36 -0700
committerDavid S. Miller <davem@davemloft.net>2023-05-19 08:37:37 +0100
commitb3a03b540e3cf62a255213d084d76d71c02793d5 (patch)
tree975f47943d9e52f396fc958573808a8aebf318ad /net/dccp
parent7e01c7f7046efc2c7c192c3619db43292b98e997 (diff)
tls: rx: device: fix checking decryption status
skb->len covers the entire skb, including the frag_list. In fact we're guaranteed that rxm->full_len <= skb->len, so since the change under Fixes we were not checking decrypt status of any skb but the first. Note that the skb_pagelen() added here may feel a bit costly, but it's removed by subsequent fixes, anyway. Reported-by: Tariq Toukan <tariqt@nvidia.com> Fixes: 86b259f6f888 ("tls: rx: device: bound the frag walk") Tested-by: Shai Amiram <samiram@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions