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

net: sockets: Release net_pkt if error during UDP recv()



If we are receiving UDP packet and if there is some error happening
inside zsock_recv_dgram(), then make sure that the net_pkt received
from recv_q is freed.

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