Oopenvela-robotnet/tcp: fix potential null pointer dereference in tcp_input
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
net: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
net/tcp: add kconfig to support retransmission at a fixed time the maximum retransmission interval allowed for specific product projects cannot exceed 6 seconds, and allows for fixed retransmission intervals. according to the previous algorithm, the retransmission interval may be 0.5 * 2 ^ 4 = 8 seconds, which does not meet the requirements. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
socket: support SO_RCVBUF and SO_SNDBUF in psock_socketlevel_option 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/tcp: fix delayed ack did not start the timer the tcpack will only be sent when the next packet is received or when the user has data to send, and its timeliness cannot be guaranteed. it will lead to the failure of the relevant test cases. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/tcp: fix passive established conn cannot be free if not accepted Signed-off-by: wenquan1 <wenquan1@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 个月前 | |
net: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
tcp_close: fix TCP may access memory after it has been freed when CONFIG_NET_SOLINGER is not enabled, tcp_alloc may free and re-alloc a tcp conn in the TCP_CLOSED state. if this case is triggered, the conn allocated subsequently will be released by the delayed close, thus causing problems. therefore, it is necessary to add state judgment and locks to protect this process. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/tcp: fix passive established conn cannot be free if not accepted Signed-off-by: wenquan1 <wenquan1@xiaomi.com> | 2 个月前 | |
net/tcp: Fix non-blocking connect race by extending lock scope Move conn_dev_lock() before the blocking/non-blocking branch so the lock covers tcp_add_active_conn() through tcp_start_monitor(), preventing the handshake from completing before TCP_CONNECTED callback is registered. Signed-off-by: zhangshuai39 <zhangshuai39@xiaomi.com> | 2 个月前 | |
net/tcp: support recv packet in the TCP_FIN_WAIT_1/2 state shutdown should send TCP_FIN packet. close should send TCP_RST packet when the data in readahead has not been read and NEW_DATA has arrived. send TCP_FIN packet when in other cases. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/devif_callback: change flags type from uint16_t to uint32_t Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
net/tcp/tcp_set|getsockopt: fix coverity error option == TCP_NODELAY always false Signed-off-by: zhanghongyu <zhanghongyu@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 个月前 | |
socket: support SO_RCVBUF and SO_SNDBUF in psock_socketlevel_option Signed-off-by: wangchen <wangchen41@xiaomi.com> | 2 个月前 | |
net: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
net/tcp: fix use-after-free in tcp_accept_connection callback In tcp_accept_connection(), tcp_callback(dev, listener, TCP_BACKLOG) calls devif_conn_event() to traverse listener->sconn.s_list without holding listener->sconn.s_lock, only have netdev_lock. Meanwhile, tcp_pollteardown() on another CPU acquires only listener->sconn.s_lock (skipping netdev_lock since dev is NULL), Signed-off-by: yangjianqing <yangjianqing@xiaomi.com> | 2 个月前 | |
net/devif_callback: change flags type from uint16_t to uint32_t Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/devif_callback: change flags type from uint16_t to uint32_t Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com> | 2 个月前 | |
net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 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 delayed ack did not start the timer the tcpack will only be sent when the next packet is received or when the user has data to send, and its timeliness cannot be guaranteed. it will lead to the failure of the relevant test cases. Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/tcp:Fixed the compilation error when CONFIG_NET_TCP_FAST_RETRANSMIT was disabled. TCP_WBNACK depends on CONFIG_NET_TCP_FAST_RETRANSMIT being enabled. If CONFIG_NET_TCP_FAST_RETRANSMIT is disabled, the definition of TCP_WBNACK will not be found. Signed-off-by: yangjianqing <yangjianqing@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: 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/tcp/tcp_set|getsockopt: fix coverity error option == TCP_NODELAY always false Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
net/tcp: TCP packet sending always uses a bound device After modifying the routing rules (all packets will go through the new NIC), TCP connections established on the original NIC will no longer be able to send packets. Signed-off-by: zhangshuai39 <zhangshuai39@xiaomi.com> | 2 个月前 | |
net/tcp:Use a temporary variable to store dev to prevent conn from being released after tcp_conn_list_unlock. Signed-off-by: yangjianqing <yangjianqing@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: removing bmp marco and using global mempool Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com> | 2 个月前 |