]> granicus.if.org Git - esp-idf/commit
mdns: enable pcbs before starting service thread to avoid updating pcb's internal...
authorDavid Cermak <cermak@espressif.com>
Mon, 4 Mar 2019 11:32:10 +0000 (12:32 +0100)
committerDavid Cermak <cermak@espressif.com>
Wed, 13 Mar 2019 09:22:41 +0000 (10:22 +0100)
commitc87f0cb6cad3c36b077f4aaeb1ca52fe6ed0cdaf
treeb2e84f866862a3a287fff2252ec5b8f6054cb15b
parent48b5501c250ed90da51a55ad4fc18e09f466a517
mdns: enable pcbs before starting service thread to avoid updating pcb's internal variables from concurent tasks

possible race condition: user task runs mdns_init, which enables pcbs while mdns-task already created could execute enable/disable of the same pcbs if an appropriate system event received
components/mdns/mdns.c