Re: [PATCH] hwsim tests: sleep a bit before connectivity checks

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

 



On Sun, 2019-05-26 at 22:10 +0200, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@xxxxxxxxx>
> 
> There's a window of time, that probably never really happens
> in real life, where we can TX before the kernel has run the
> linkwatch_event(), which sets up the qdisc in dev_activate().
> If we happen to attempt to do connectivity checks before the
> event has been processed, all frames are dropped in the noop
> qdisc, causing this to fail.

Scratch this, I think we probably need something like

https://p.sipsolutions.net/8c080161b4582fec.txt

instead. That addresses many similar cases as well.

johannes


_______________________________________________
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