Re: ICMP responses on UDP broadcasts

2022-05-13 Thread Nathan Hartman
On Fri, May 13, 2022 at 5:14 AM Fotis Panagiotopoulos wrote: > > Hi Nathan, > > There is such a macro, it is net_ipv4addr_broadcast(). > I just used it, as you describe above, and I created PR #6262. > > I checked the result with Wireshark, and indeed it solves the issue. > > Thank you all! Grea

Re: Network deadlock and priority inheritance.

2022-05-13 Thread Nathan Hartman
On Fri, May 13, 2022 at 6:43 AM Fotis Panagiotopoulos wrote: > > Hello! > > I am facing various issues with networking in NuttX, including a nasty > deadlock. > > I tried to track down this deadlock, and it seems that it is related to > g_netlock. > I am not sure yet what is the sequence that lead

Network deadlock and priority inheritance.

2022-05-13 Thread Fotis Panagiotopoulos
Hello! I am facing various issues with networking in NuttX, including a nasty deadlock. I tried to track down this deadlock, and it seems that it is related to g_netlock. I am not sure yet what is the sequence that leads to this. I have CONFIG_PRIORITY_INHERITANCE enabled. However, I see that SE

Re: ICMP responses on UDP broadcasts

2022-05-13 Thread Fotis Panagiotopoulos
Hi Nathan, There is such a macro, it is net_ipv4addr_broadcast(). I just used it, as you describe above, and I created PR #6262. I checked the result with Wireshark, and indeed it solves the issue. Thank you all! Στις Πέμ 12 Μαΐ 2022 στις 7:01 μ.μ., ο/η Nathan Hartman < hartman.nat...@gmail.com