nuttx/net/arp
Masayuki Ishikawa 59ed02c604 net: arp: Fix a potential bug in arp_notify()
Summary:
- In arp_wait_setup() and arp_wait_cancel(), g_arp_waiters
  is protected by a critical section.
- However, I noticed that arp_notify() does not protect the
  g_arp_waiters that would cause memory corruption
- This commit fixes the issue.

Impact:
- None

Testing:
- Tested with spresense:rndis_smp, spresense:rndis

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2021-03-31 12:23:35 -05:00
..
arp_arpin.c net/: Run nxstyle against all C files. 2019-10-25 11:31:42 -06:00
arp_dump.c Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err(). 2016-06-20 12:44:38 -06:00
arp_format.c net: network drver now retains Ethernet MAC address in a union so that other link layer addresses may be used in a MULTILINK environment. 2017-04-22 11:10:30 -06:00
arp_ipin.c net: nxstyle fixes 2021-02-20 00:38:18 -08:00
arp_notify.c net: arp: Fix a potential bug in arp_notify() 2021-03-31 12:23:35 -05:00
arp_out.c net: nxstyle fixes 2021-02-20 00:38:18 -08:00
arp_poll.c net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
arp_send.c net: arp: Fix memory corruption in arp_send() 2021-03-31 12:23:35 -05:00
arp_table.c Rename clock_systime[r|spec] to clock_systime_[ticks|timespec] 2020-05-10 14:35:50 -06:00
arp.h net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00
Kconfig Update some comments and cosmetic spacing. 2019-02-04 07:24:45 -06:00
Make.defs net: Author Gregory Nutt: update licenses to Apache 2021-02-20 00:38:18 -08:00