Skip to content
Commit a95a2aab authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Anas Nashif
Browse files

net: tcp: No need to unref pkt if it was not sent



In order to avoid net_pkt ref count going to <0, do not unref
the packet if it was not sent in the first place. This can happen
if the connection was closed while we are waiting packets to be sent.

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