Skip to content
Commit ebdc1a03 authored by Eric Dumazet's avatar Eric Dumazet Committed by Jakub Kicinski
Browse files

tcp: add a missing sk_defer_free_flush() in tcp_splice_read()



Without it, splice users can hit the warning
added in commit 79074a72 ("net: Flush deferred skb free on socket destroy")

Fixes: f35f8219 ("tcp: defer skb freeing after socket lock is released")
Fixes: 79074a72 ("net: Flush deferred skb free on socket destroy")
Suggested-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Cc: Gal Pressman <gal@nvidia.com>
Link: https://lore.kernel.org/r/20220120124530.925607-1-eric.dumazet@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 48cec899
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment