]> 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 15:32:50 +0000 (16:32 +0100)
commit58ed22461fc5dc9b93dedf154d3c839c026eb73a
tree138bda4fd2604d2b19618287b3972e0ba4ccb5d9
parented84e5aef33f89b853436b34a5350ef1bdf771d5
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