lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9172] netif: Simplify netif_poll implementation


From: Axel Lin
Subject: [lwip-devel] [patch #9172] netif: Simplify netif_poll implementation
Date: Fri, 25 Nov 2016 11:50:13 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36

Follow-up Comment #4, patch #9172 (project lwip):

Hi Dirk,

I recheck the code again and re-run testing again.
I think the missing lock protect issue as you mentioned is the same for
        while(netif->loop_first != NULL)  {}
and
        do {} while (netif->loop_first != NULL);.

All the reset part of the code accessing netif->loop_first has lock protection
and the only missing part is
while (netif->loop_first != NULL).

Attached a revised patch for review.


(file #39067)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-netif-Add-proper-lock-protect-for-accessing-netif-lo.patch
Size:4 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9172>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]