Skip to content
Commit f3cce908 authored by Andy Ross's avatar Andy Ross Committed by Jukka Rissanen
Browse files

net: net_context: Drop callbacks in net_context_put()



The context may live for a while after the user closes it (c.f. TCP),
and of course the documentation specifies that the user must not use
it after calling net_context_put().  Don't confuse them by invoking
their callbacks on the "closed" connection; it's likely that the user
has destroyed her own tracking data and the user_data pointers would
be garbage.

Change-Id: Iba9cc7025c6ea4a94cc4796903966f8d1b831996
Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent fece8569
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment