nuttx/net
Javier Casas 52dbfda355 bug fix: can_datahandler wrong return value
can_datahandler returns an unsigned value that represent the
number of bytes actually bufffered, but the call to iob_tryadd_queue
returns a negative value when it fails so that value can't be used as
can_datahandler return value because it is interpreted as unsigned so
a big number is wrongly returned when iob_tryadd_queue fails.

The fix is just setting the return value to zero when iob_tryadd_queue
fails, reflecting the actual meaning that no bytes have been buffered.
2025-01-30 11:37:29 -03:00
..
arp
bluetooth
can bug fix: can_datahandler wrong return value 2025-01-30 11:37:29 -03:00
devif
icmp
icmpv6
ieee802154
igmp
inet
ipfilter
ipforward
ipfrag
local
mld
nat
neighbor
netdev
netfilter
netlink
pkt
procfs
route
rpmsg
sixlowpan
socket
tcp
udp
usrsock
utils
CMakeLists.txt
Kconfig
Makefile
net_initialize.c