linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/1] cfg80211: Fix user-space crda query stall
@ 2010-05-25  6:50 Juuso Oikarinen
  2010-05-25  6:50 ` [PATCH] " Juuso Oikarinen
  0 siblings, 1 reply; 8+ messages in thread
From: Juuso Oikarinen @ 2010-05-25  6:50 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless

When the user-space crda daemon fails to respond to kernel queries, the kernel
crda subsystem will stall, refusing any further regulatory hints. Details are
in the description of the patch itself.

The patch proposes a fix to the problem by adding a timeout to the user-space
crda accesses, reverting to the 00 domain if user space fails to respond. This
seems safe assuming we don't know what the rules of the requested domain and
allows further regulatory hints to be processed again.

In my testing, this patch appears to function in the various scenarios I can 
produce (user hints and 11d hints.) My understanding of the crda subsystem is
still relatively shallow, so I'm asking for your thoughts on this approach.

Comments will be appreaciated!


Juuso Oikarinen (1):
  cfg80211: Fix user-space crda query stall

 net/wireless/reg.c |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-05-27  6:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25  6:50 [RFC PATCH 0/1] cfg80211: Fix user-space crda query stall Juuso Oikarinen
2010-05-25  6:50 ` [PATCH] " Juuso Oikarinen
2010-05-25 19:02   ` Luis R. Rodriguez
2010-05-25 19:19     ` Luis R. Rodriguez
2010-05-25 19:22     ` Luis R. Rodriguez
2010-05-26  5:08     ` Juuso Oikarinen
2010-05-26 16:46       ` Luis R. Rodriguez
2010-05-27  6:17         ` Juuso Oikarinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).