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

drivers/eth/mcux: Make sure not to leak net_buf in RX



Check net_recv_data() return value and if it returns an error
then release the net_buf in order to avoid leaking it.

Coverity-CID: 158884

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