aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2022-08-17 12:54:45 -0700
committerJakub Kicinski <[email protected]>2022-08-18 11:04:56 -0700
commit2e23acd99efacfd2a63cb9725afbc65e4e964fb7 (patch)
tree7378084ad03e9513090482684a21c6e810d61b36 /scripts/gdb/linux/timerlist.py
parenta8688821f3854f37fe0198b8945f9cfc051ab2cf (diff)
tcp: handle pure FIN case correctly
When skb->len==0, the recv_actor() returns 0 too, but we also use 0 for error conditions. This patch amends this by propagating the errors to tcp_read_skb() so that we can distinguish skb->len==0 case from error cases. Fixes: 04919bed948d ("tcp: Introduce tcp_read_skb()") Reported-by: 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/timerlist.py')
0 files changed, 0 insertions, 0 deletions