Re: [PATCH] mwifiex: fix kernel crash after shutdown command timeout

2017-03-15 Thread Amitkumar Karwar
> From: Brian Norris [mailto:briannor...@chromium.org] > Sent: Wednesday, March 15, 2017 12:03 AM > To: Amitkumar Karwar > Cc: linux-wireless@vger.kernel.org; Cathy Luo; Nishant Sarmukadam; > raja...@google.com; dmitry.torok...@gmail.com > Subject: [EXT] Re: [PATCH] mwifiex: fix

Re: [PATCH] mwifiex: fix kernel crash after shutdown command timeout

2017-03-14 Thread Brian Norris
On Tue, Mar 14, 2017 at 11:33 AM, Brian Norris wrote: > > Hi Amit, > > You managed to CC several other Google folks, but not me, the one who > actually reviewed most of this! You might consider including me in the > future :) Oops, in fact you did CC me... my bad. But

Re: [PATCH] mwifiex: fix kernel crash after shutdown command timeout

2017-03-14 Thread Brian Norris
Hi Amit, You managed to CC several other Google folks, but not me, the one who actually reviewed most of this! You might consider including me in the future :) On Fri, Feb 24, 2017 at 06:59:24PM +0530, Amitkumar Karwar wrote: > We observed a SHUTDOWN command timeout during reboot stress test due

[PATCH] mwifiex: fix kernel crash after shutdown command timeout

2017-02-24 Thread Amitkumar Karwar
We observed a SHUTDOWN command timeout during reboot stress test due to a corner case firmware bug. It leads to use-after-free on adapter structure pointer and crash. We already have a cancel_work_sync() call in teardown thread. This issue is fixed by having this call just before