net: tcp: Increment ref count in initial SYN
Increase reference count already when initial SYN is sent.
This way the tcp pointer in net_context is fully valid for
the duration of the connection.
Fixes #63952
Signed-off-by:
Jukka Rissanen <jukka.rissanen@nordicsemi.no>
Loading
Please sign in to comment