| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
net/arp: optimize the code logic using the breaklock method Signed-off-by: yangjianqing <yangjianqing@xiaomi.com> | 2 个月前 | |
include/nuttx/net/net.h: add s_ prefix for node, list and list_tail standardize the naming of structure members. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
socket: support SO_RCVBUF and SO_SNDBUF in psock_socketlevel_option Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
Revert "net:debug patch" Reason for revert: <no need debug info> Signed-off-by: yangjianqing <yangjianqing@xiaomi.com> | 2 个月前 | |
utils: Add conn_init/conn_uninit and replace direct s_lock ops Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
utils: Add conn_init/conn_uninit and replace direct s_lock ops Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
include/nuttx/net/net.h: add s_ prefix for node, list and list_tail standardize the naming of structure members. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
igmp: Simplify the igmp_cmptimer This commit simplified igmp_cmptimer. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com> | 2 个月前 | |
net/igmp:fix deadlock issue igmp_joingroup and igmp_leavegroup will call igmp_schedmsg. igmp_schedmsg, after acquiring conn_lock, will also attempt to acquire netdev_lock, causing a deadlock. Signed-off-by: yangjianqing <yangjianqing@xiaomi.com> | 2 个月前 | |
net: add per cpu support under bmp mode Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
utils: Add conn_init/conn_uninit and replace direct s_lock ops Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net: add per cpu support under bmp mode Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net/ethernet: ARP can be configured on interface ARP can be configured on interface. Signed-off-by: gaohedong <gaohedong@xiaomi.com> | 2 个月前 | |
netdev_checksum: fix the iob null point dereference with hardware_chksum_start Signed-off-by: daichuan <daichuan@xiaomi.com> | 2 个月前 | |
net: add per cpu support under bmp mode Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net: removing bmp marco and using global mempool Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net/netlink: initialize socket connection in netlink_alloc Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
net/pkt: adapt to the modification of SO_RCVBUF and SO_SNDBUF Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/tcp: drop packet when offset info is wrong According RFC 793 section 3.1, TCP header length must be longer than 20. Meanwhile, the total length of the packet cannot be less than the sum of the IP header and TCP header Signed-off-by: gaohedong <gaohedong@xiaomi.com> | 2 个月前 | |
net: removing bmp marco and using global mempool Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
net/rpmsg_sockif: fix memleak, do not destroy conn when connect failed When server rejects a connection (pending >= backlog), it sends NS_DESTROY to client. The client then calls rpmsg_socket_destroy_ept() which decrements ept->ref to 0 and triggers rpmsg_socket_ept_release(). However, conn->crefs is still 1 at this point, so the connection is not freed. Later when user calls close(), conn->crefs becomes 0 and rpmsg_socket_destroy_ept() is called again, but ept->ref becomes -1, which prevents ept->release_cb() from being called. As a result, rpmsg_socket_free() is never invoked and memory leaks. Fix this by removing the redundant rpmsg_socket_destroy_ept() call in the connect error path. The endpoint cleanup should be handled by the close() path through normal reference counting. Memleak diagram: Client Server connect() ---> rpmsg_socket_ns_bind() | reject (pending >= backlog) |-unbind <--- NS_DESTROY |-rpmsg_socket_destroy_ept() |-rpmsg_socket_ept_release() ept->ref = 0 |-but conn->crefs = 1, not free conn |-return -ECONNRESET to user close() |-conn->crefs ==> 0 |-rpmsg_socket_destroy_ept() ept->ref = -1 |-not call ept->realease_cb() and rpmsg_socket_free() |-will never be called and memory leak occur. Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com> | 2 个月前 | |
include/nuttx/net/net.h: add s_ prefix for node, list and list_tail standardize the naming of structure members. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
socket: support SO_RCVBUF and SO_SNDBUF in psock_socketlevel_option Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
net/tcp: fix potential null pointer dereference in tcp_input Cache conn->blparent->sconn into a local variable to prevent dereferencing a potentially NULL blparent. blparent may be set to NULL in accept progress Signed-off-by: yangjianqing <yangjianqing@xiaomi.com> | 2 个月前 | |
net/udp: fix sndbufs member access in udp_sendto_buffered The sndbufs field was moved to socket_conn_s as s_sndbufs in the new NuttX version. Line 955 was missed during rebase while line 718 was already correctly updated. Fix: conn->sndbufs -> conn->sconn.s_sndbufs | 1 个月前 | |
utils: Add conn_init/conn_uninit and replace direct s_lock ops Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
socket: support SO_RCVBUF and SO_SNDBUF in psock_socketlevel_option Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
nuttx/atomic: replace atomic_fetch_xxx with atomic_xxx just like zephyr Signed-off-by: zhangyu117 <zhangyu117@xiaomi.com> | 2 个月前 | |
Support no-lto option for the network Makefile Signed-off-by: daichuan <daichuan@xiaomi.com> | 2 个月前 | |
Kconfig: Add NET_PKT_WRITE_BUFFERS to NET_SEND_BUFSIZE depends Extend NET_SEND_BUFSIZE dependency to include PKT write buffers. Ensures consistent gating across TCP/UDP/CAN/PKT configurations. Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
net/forward: change ipforward name to netforward for public use Signed-off-by: wangjinjing1 <wangjinjing1@xiaomi.com> | 2 个月前 | |
net/forward: change ipforward name to netforward for public use Signed-off-by: wangjinjing1 <wangjinjing1@xiaomi.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 1 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |