This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
from 906279e37a5 Modify ``do while`` Statement typo
new 0af74a54bb6 net/netdev: separate netdev_list_lock from net_lock
new eb60667561f net/utils/net_lock.c: add api to lock conn and netdev
new eb2bd586409 net/nat: replace net_lock with nat_lock(mutex)
new 51743c55b22 net/arp/arp_send.c: replace net_lock with netdev_lock
new f8ecbd781cf udp:Resolve UDP exit delay due to high CPU usage
new 9befb8ae4af net/udp: remove net_lock
new e431cb00ca6 net/pkt: replace net_lock with netdev_lock
new 1d91a158207 net/icmp: replace net_lock with conn_lock and conn_lock_dev
new a22f2a61239 net/socketcan: move rx filter down to can_input;
new 3bd4748bc3b net/can: repair callback alloc error handling
new 99584588fc0 net/can: modify net_unlock location before txnotify for
can_sendmsg_buffered.c
new 4fa74e4d18b net/can: add write_q free for callback alloc error handling
new 02e7ed7cc4b net/can: replace net_lock with conn_lock and conn_lock_dev
new 6196550f8fe tcp:add net_lock to protect tcp resource
new 5032377c346 net/tcp: replace net_lock with conn_lock and conn_lock_dev
new 8ef876562e8 net/icmpv6: replace net_lock with conn_lock and
conn_lock_dev
new 6b625dfdf28 net/inet: replace net_lock with conn_lock
new c8713a1b480 net: protect the older network cards driver's tx and rx
process
new 3e18d726619 netdev_upperhalf.c: add vlan lock in rxpoll flow
new 0900b21217a net: change conn lock from mutex to rmutex
The 20 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.codespell-ignore-lines | 1 +
drivers/net/netdev_upperhalf.c | 14 ++-
include/nuttx/net/net.h | 27 ++++++
include/nuttx/net/netdev.h | 2 +
net/arp/arp_send.c | 43 +++++----
net/can/can.h | 16 ++++
net/can/can_callback.c | 14 +--
net/can/can_conn.c | 90 +++++++++++++++++++
net/can/can_input.c | 21 ++++-
net/can/can_recvmsg.c | 87 +++---------------
net/can/can_sendmsg.c | 9 +-
net/can/can_sendmsg_buffered.c | 30 ++++---
net/can/can_setsockopt.c | 4 +-
net/can/can_sockif.c | 8 +-
net/devif/devif_callback.c | 22 ++---
net/devif/devif_poll.c | 14 ++-
net/devif/ipv4_input.c | 7 +-
net/devif/ipv6_input.c | 7 +-
net/icmp/icmp.h | 16 ++++
net/icmp/icmp_conn.c | 49 ++++++----
net/icmp/icmp_input.c | 2 +
net/icmp/icmp_ioctl.c | 5 +-
net/icmp/icmp_netpoll.c | 26 +++---
net/icmp/icmp_recvmsg.c | 12 +--
net/icmp/icmp_sendmsg.c | 10 ++-
net/icmp/icmp_sockif.c | 17 ++--
net/icmpv6/icmpv6_autoconfig.c | 24 ++---
net/icmpv6/icmpv6_conn.c | 1 +
net/icmpv6/icmpv6_ioctl.c | 5 +-
net/icmpv6/icmpv6_neighbor.c | 4 +-
net/icmpv6/icmpv6_netpoll.c | 25 +++---
net/icmpv6/icmpv6_recvmsg.c | 5 +-
net/icmpv6/icmpv6_rnotify.c | 4 +-
net/icmpv6/icmpv6_sendmsg.c | 6 +-
net/icmpv6/icmpv6_sockif.c | 11 ++-
net/inet/inet_sockif.c | 21 ++---
net/inet/ipv4_getsockname.c | 7 +-
net/inet/ipv4_getsockopt.c | 5 +-
net/inet/ipv4_setsockopt.c | 5 +-
net/inet/ipv6_getsockname.c | 7 +-
net/inet/ipv6_getsockopt.c | 5 +-
net/inet/ipv6_setsockopt.c | 5 +-
net/ipfrag/ipfrag.c | 8 +-
net/nat/ipv4_nat.c | 7 ++
net/nat/ipv6_nat.c | 7 ++
net/nat/nat.c | 61 +++++++++----
net/nat/nat.h | 20 +++++
net/netdev/CMakeLists.txt | 3 +-
net/netdev/Make.defs | 2 +-
net/netdev/netdev.h | 21 +++++
net/netdev/netdev_count.c | 4 +-
net/netdev/netdev_default.c | 4 +-
net/netdev/netdev_findbyaddr.c | 8 +-
net/netdev/netdev_findbyindex.c | 14 +--
net/netdev/netdev_findbyname.c | 6 +-
net/netdev/netdev_ioctl.c | 18 ++--
.../umm_memdump.c => net/netdev/netdev_lock.c | 30 ++++---
net/netdev/netdev_register.c | 41 ++++++++-
net/netdev/netdev_unregister.c | 6 +-
net/netdev/netdev_verify.c | 4 +-
net/pkt/pkt.h | 26 ++++++
net/pkt/pkt_callback.c | 3 +
net/pkt/pkt_conn.c | 33 +++++++
net/pkt/pkt_input.c | 17 +++-
net/pkt/pkt_netpoll.c | 41 +++++----
net/pkt/pkt_recvmsg.c | 25 +++---
net/pkt/pkt_sendmsg_buffered.c | 18 ++--
net/pkt/pkt_sendmsg_unbuffered.c | 8 +-
net/pkt/pkt_sockif.c | 12 ++-
net/procfs/net_tcp.c | 8 +-
net/procfs/net_udp.c | 10 +--
net/tcp/tcp.h | 22 ++++-
net/tcp/tcp_accept.c | 19 ++--
net/tcp/tcp_backlog.c | 5 +-
net/tcp/tcp_callback.c | 5 +-
net/tcp/tcp_close.c | 14 +--
net/tcp/tcp_conn.c | 100 ++++++++++++---------
net/tcp/tcp_connect.c | 11 ++-
net/tcp/tcp_devpoll.c | 3 +
net/tcp/tcp_ioctl.c | 5 +-
net/tcp/tcp_listen.c | 12 ++-
net/tcp/tcp_monitor.c | 12 +--
net/tcp/tcp_netpoll.c | 17 ++--
net/tcp/tcp_recvfrom.c | 14 +--
net/tcp/tcp_send_buffered.c | 14 ++-
net/tcp/tcp_send_unbuffered.c | 11 ++-
net/tcp/tcp_sendfile.c | 7 +-
net/tcp/tcp_shutdown.c | 10 ++-
net/tcp/tcp_timer.c | 12 ++-
net/tcp/tcp_txdrain.c | 6 +-
net/udp/udp.h | 84 ++++++-----------
net/udp/udp_callback.c | 10 ++-
net/udp/udp_close.c | 9 +-
net/udp/udp_conn.c | 68 ++++++++++----
net/udp/udp_input.c | 3 +
net/udp/udp_ioctl.c | 5 +-
net/udp/udp_netpoll.c | 26 +++---
net/udp/udp_notifier.c | 88 ------------------
net/udp/udp_recvfrom.c | 21 +++--
net/udp/udp_sendto_buffered.c | 82 +++++++++--------
net/udp/udp_sendto_unbuffered.c | 20 +++--
net/udp/udp_txdrain.c | 56 ++----------
net/utils/net_lock.c | 40 +++++++++
net/utils/utils.h | 17 ++++
104 files changed, 1201 insertions(+), 785 deletions(-)
copy mm/umm_heap/umm_memdump.c => net/netdev/netdev_lock.c (83%)