Re: [PATCH] p2p: call normal SD query callback on RX/TX race

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

 



On Wed, Apr 17, 2024 at 03:45:24PM +0300, Andrei Otcheretianski wrote:
> If the TX success response races with the RX frame then the state
> machine was simply move to P2P_SD_DURING_FIND to continue the operation.
> However, this does not take into account broadcast queries where the
> callback handler updates the peer's sd_pending_bcast_queries.
> 
> Fix this by exporting the callback and calling it directly. This is
> fine, as the operation is cancelled immediately afterwards, ensuring
> that the callback is not called a second time.

Thanks, applied.
 
-- 
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