diff options
author | Cong Wang <cong.wang@bytedance.com> | 2022-08-17 22:54:45 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-18 21:04:56 +0300 |
commit | 2e23acd99efacfd2a63cb9725afbc65e4e964fb7 (patch) | |
tree | 7378084ad03e9513090482684a21c6e810d61b36 /Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml | |
parent | a8688821f3854f37fe0198b8945f9cfc051ab2cf (diff) | |
download | linux-2e23acd99efacfd2a63cb9725afbc65e4e964fb7.tar.xz |
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 <edumazet@google.com>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: Jakub Sitnicki <jakub@cloudflare.com>
Signed-off-by: Cong Wang <cong.wang@bytedance.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-mt65xx.yaml')
0 files changed, 0 insertions, 0 deletions