Re: segfault in wpa_ctrl_request

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

 



On Fri, Jan 15, 2016 at 01:19:12PM -0500, marc miller wrote:
> There are two threads in this process. Should i serialize access to
> wpa_ctrl_request() ?
> 
> Every time i make the call to that function i open and close the ctrl
> interface (wpa_ctrl_open ), i can probably use a mutex alongside it.
> Any chances that can help ?

Yes, you will need to do such protection when using wpa_ctrl.c since
there is no support for concurrency within the wpa_ctrl_*() functions.

-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux