Skip to content
Commit afc0cdf7 authored by Jukka Rissanen's avatar Jukka Rissanen
Browse files

net: app: Check if underlying net_context is freed



It might happen in TCP client, that the TCP connection is terminated
in which case net_context is freed. Check this and mark corresponding
net_context inside net_app to NULL. This way there will be no issue
to access already freed net_context.

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