nuttx/net
Zhe Weng 22b6076f26 net/udp: Add check when sending too big packet without IP frag
Commit 8a63d29c removed `devif_iob_send` from `udp_sendto_buffered`
workflow, `devif_iob_send` drops too big packet. Now we still need a
place to check the packet length, otherwise a packet larger than MTU
may be sent to the net driver.

In case of similar problem happens somewhere else, this commit also
adds a check in `netdev_upperhalf`, and count these cases into
`NETDEV_TXERRORS`.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-12-12 06:42:33 -08:00
..
arp net/arp: arp should depends on MM_IOB 2023-09-12 16:24:52 +08:00
bluetooth net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
can poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
devif udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
icmp poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
icmpv6 net/icmpv6:Optimize the process of obtaining the IPv6 address through RA. 2023-12-05 23:40:37 -08:00
ieee802154 net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
igmp igmp: call IFF_SET_IPv4 when igmp_send 2023-11-16 07:29:48 -08:00
inet poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
ipforward build: add initial cmake build system 2023-07-08 13:50:48 +08:00
ipfrag net/ipfrag:Fixed ref not initializing warning issue 2023-07-26 08:36:04 -03:00
local poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
mld net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
nat mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
neighbor net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
netdev net/utils: Switch argument order of net_ipv6_pref2mask 2023-11-07 19:30:36 +08:00
netfilter build: add initial cmake build system 2023-07-08 13:50:48 +08:00
netlink Remove @ and % tag from all comments 2023-12-11 17:00:10 -03:00
pkt net/assert: remove all unnecessary check for psock/conn 2023-08-30 20:36:49 +08:00
procfs net/procfs: Support printing multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
route net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
rpmsg poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
sixlowpan net: Support multiple IPv6 address per netdev 2023-11-07 19:30:36 +08:00
socket udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
tcp poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
udp net/udp: Add check when sending too big packet without IP frag 2023-12-12 06:42:33 -08:00
usrsock poll: pollsetup should notify only one fd passd by caller 2023-11-21 09:07:17 +01:00
utils net/utils: Switch argument order of net_ipv6_pref2mask 2023-11-07 19:30:36 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig udp: Add support for SO_TIMESTAMP 2023-11-18 03:10:29 -08:00
Makefile Support fragmentation and reassembly 2023-01-17 14:01:37 +08:00
net_initialize.c