walnux/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 net:when work_cancel_sync is excuted,it releases net_lock 2024-10-13 02:05:26 +08:00
inet inet_sockif:support multiple iov recv 2025-01-20 17:12:14 +08:00
ipfilter fix compile warning with implicit declaration of function 'icmp_reply' 2024-10-08 22:30:11 +08:00
ipforward net: Enable dynamic allocation of tcp/udp/ipfwd buffer by default 2025-01-07 22:00:21 +08:00
ipfrag ipfrag:fix warnig 2024-09-12 17:15:13 +08:00
local net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
mld net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
nat net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
neighbor net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
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 fix compile warning with ipt_sockopt.c and ip6t_sockopt.c: implicit declaration of function 'popcount' 2024-10-08 22:30:11 +08:00
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 net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
rpmsg net: Split msg_iovlen check in recvmsg into each protocol 2025-01-20 17:12:14 +08:00
sixlowpan net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
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 net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
Kconfig usb_cdcmbim: add mbim device driver 2024-08-22 01:56:26 +08:00
Makefile Revert "build depend:Revert Make.dep intermediate ddc file" 2024-09-15 19:29:47 +08:00
net_initialize.c net/bufpool: Call init automatically on alloc 2025-01-07 22:00:21 +08:00