Skip to content
Commit 663b684f authored by Daniel Nejezchleb's avatar Daniel Nejezchleb Committed by Carles Cufí
Browse files

net: socket: fix hanging net contexts



Calls put instead of unref on net contexts
in the socket accept function.
Mere unref didn't subtract the reference
count of net context which leaves
it in used state. This situation happens
in case of accepting already
closed connection.

Signed-off-by: default avatarDaniel Nejezchleb <dnejezchleb@hwg.cz>
parent e9e5498a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment