net: tcp: Add the frag back to caller allocated net_pkt
The original fragment chain of incoming packet will be lost and leaked
in case of early error, add frag back to packet and
let the caller do unref.
Fixes #4323
Signed-off-by:
june li <junelizh@foxmail.com>
Loading
Please sign in to comment