aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2022-08-17 12:54:44 -0700
committerJakub Kicinski <[email protected]>2022-08-18 11:04:56 -0700
commita8688821f3854f37fe0198b8945f9cfc051ab2cf (patch)
tree3e166b8c8d792283d7f4ce6bbc2354591387f5d8 /scripts/gdb/linux/tasks.py
parentc457985aaa92e1fda2ce837cabf90bf687b92dcb (diff)
tcp: refactor tcp_read_skb() a bit
As tcp_read_skb() only reads one skb at a time, the while loop is unnecessary, we can turn it into an if. This also simplifies the code logic. Cc: Eric Dumazet <[email protected]> Cc: John Fastabend <[email protected]> Cc: Jakub Sitnicki <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions