summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/recursion.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-04-07 20:38:20 -0700
committerDavid S. Miller <davem@davemloft.net>2022-04-08 11:49:08 +0100
commit5deee41b19b3259debdc2d607f1065f28ac80070 (patch)
tree82161d803d6fe51da10126a2cf3c63da3670fbb8 /tools/testing/selftests/bpf/prog_tests/recursion.c
parenta8340cc02beed4ffbb5e7b1b0eadca445323fc6a (diff)
tls: rx: replace 'back' with 'offset'
The padding length TLS 1.3 logic is searching for content_type from the end of text. IMHO the code is easier to parse if we calculate offset and decrement it rather than try to maintain positive offset from the end of the record called "back". Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions