Skip to content
Commit 8fd677e9 authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

net: tcp: Fix memory leak when lot of incoming packets



The code was leaking memory in TX side when there was lot of
incoming packets. The reason was that the net_pkt_sent() flag
was manipulated in two threads which caused races. The solution
is to move the sent flag check only to tcp.c.

Fixes #23246

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@linux.intel.com>
parent 78234833
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment