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 include/netinet/arp.h: change the type of arp_dev from uint8_t to char 2024-12-26 23:29:23 +08:00
bluetooth net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
can bug fix: can_datahandler wrong return value 2025-01-30 11:37:29 -03:00
devif net/can/: add statistics for recv, sent and drop 2025-01-30 11:37:29 -03:00
icmp net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
icmpv6 net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
ieee802154 net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
igmp
inet inet_sockif:support multiple iov recv 2025-01-20 17:12:14 +08:00
ipfilter
ipforward net: Enable dynamic allocation of tcp/udp/ipfwd buffer by default 2025-01-07 22:00:21 +08:00
ipfrag
local net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
mld
nat
neighbor
netdev include/netinet/arp.h: change the type of arp_dev from uint8_t to char 2024-12-26 23:29:23 +08:00
netfilter
netlink net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
pkt net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
procfs net/can/: add statistics for recv, sent and drop 2025-01-30 11:37:29 -03:00
route
rpmsg net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
sixlowpan
socket net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
tcp inet_sockif:support multiple iov recv 2025-01-20 17:12:14 +08:00
udp inet_sockif:support multiple iov recv 2025-01-20 17:12:14 +08:00
usrsock net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
utils net/bufpool: Call init automatically on alloc 2025-01-07 22:00:21 +08:00
CMakeLists.txt
Kconfig
Makefile
net_initialize.c net/bufpool: Call init automatically on alloc 2025-01-07 22:00:21 +08:00