summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2022-04-08 11:31:34 -0700
committerDavid S. Miller <davem@davemloft.net>2022-04-10 17:32:12 +0100
commitf940b6efb17257844341d04b4fc622752c23cb9f (patch)
treefdcd97ef1acda17a2d02f336d52feba54e800471 /include/linux
parentb1a2c1786330286f4b31c4bb9fd1d5ac8bb09807 (diff)
tls: rx: jump out for cases which need to leave skb on list
The current invese logic is harder to follow (and adds extra tests to the fast path). We have to enumerate all cases which need to keep the skb before consuming it. It's simpler to jump out of the full record flow as we detect those cases. This makes it clear that partial consumption and peek can only reach end of the function thru the !zc case so move the code up there. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions