Files
Linux/net/ipv4
Cong Wang 2e23acd99e 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: 04919bed94 ("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]>
2022-08-18 11:04:56 -07:00
..
2022-07-12 12:58:53 +02:00
2022-04-12 14:56:33 -07:00
…
…
…
2022-04-12 14:56:33 -07:00
…
…
…
2022-06-21 11:38:29 +02:00
2022-06-24 22:48:33 -07:00
…
2022-08-18 11:04:56 -07:00
…