Skip to content
Commit 593f7c45 authored by Oleg Zhurakivskyy's avatar Oleg Zhurakivskyy Committed by Carles Cufí
Browse files

tests: net: tcp2: Avoid trying to free net_pkt twice



For success cases, the net_pkt is handled by the IP stack
so no need to free the net_pkt. The double free is not causing
any issues as the net_pkt code will just ignore the request but
we should avoid doing it because of error prints that are printed.

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