aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2022-04-08 11:31:32 -0700
committerDavid S. Miller <[email protected]>2022-04-10 17:32:12 +0100
commit465ea73535675ed3eb39e54a3631998f0c64e8d7 (patch)
treeacc2ac7457061c0173f97dea07618d66eb7dc0a6 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentba13609df18dabf1d892a247201bd3fe38012ff9 (diff)
tls: rx: inline consuming the skb at the end of the loop
tls_sw_advance_skb() always consumes the skb at the end of the loop. To fall here the following must be true: !async && !is_peek && !retain_skb retain_skb => !zc && rxm->full_len > len # but non-full record implies !zc, so above can be simplified as retain_skb => rxm->full_len > len !async && !is_peek && !(rxm->full_len > len) !async && !is_peek && rxm->full_len <= len tls_sw_advance_skb() returns false if len < rxm->full_len which can't be true given conditions above. Signed-off-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions