mbox series

[RFC,0/1] Hwsim crash when receiving cloned frame

Message ID 20200910235707.7732-1-prestwoj@gmail.com (mailing list archive)
Headers show
Series Hwsim crash when receiving cloned frame | expand

Message

James Prestwood Sept. 10, 2020, 11:57 p.m. UTC
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(-)