Skip to content
Commit d27ca378 authored by Mitul Shah's avatar Mitul Shah Committed by Jukka Rissanen
Browse files

net: context: Fixing bug in net context put flow



Following flow does not work:
net_context_get
net_context_bind
..
..
net_context_put
net_context_get
net_context_bind

At instance of call to net_context_bind, conn_handler
is not NULL and returns with EISCONN.

This patch sets conn_handler to NULL in net_context_unref

Change-Id: I56a50839101b22161644b3cd7c5f510fa1abae3e
Signed-off-by: default avatarMitul Shah <mitul.a.shah@intel.com>
parent 52e3e5c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment