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:
Daniel Nejezchleb <dnejezchleb@hwg.cz>
Loading
Please sign in to comment