All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/1] Hwsim crash when receiving cloned frame
@ 2020-09-10 23:57 James Prestwood
  2020-09-10 23:57 ` [RFC 1/1] mac80211_hwsim: fix crash when receiving frame James Prestwood
  0 siblings, 1 reply; 3+ messages in thread
From: James Prestwood @ 2020-09-10 23:57 UTC (permalink / raw)
  To: linux-wireless; +Cc: James Prestwood

I am unsure if this is the proper way to fix this problem since it
ends up just dropping the frame when this happens. If 'channel'
*should* be initialized by the time we are receiving frames then
there may be a race somewhere. If its functionally ok for 'channel'
to be NULL, then maybe this fix is alright.

I realize it had been suggested to provide a decoded crash with
a debuggable kernel, but I really dont see how that could provide
any additional information above what is here. Because of this I
sent as an RFC and we can discuss further if needed.


James Prestwood (1):
  mac80211_hwsim: fix crash when receiving frame

 drivers/net/wireless/mac80211_hwsim.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.26.2


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

end of thread, other threads:[~2020-09-17  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10 23:57 [RFC 0/1] Hwsim crash when receiving cloned frame James Prestwood
2020-09-10 23:57 ` [RFC 1/1] mac80211_hwsim: fix crash when receiving frame James Prestwood
2020-09-17  9:46   ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.