wil6210: fix kernel OOPS when stopping interface during Rx traffic
authorHamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Wed, 16 Dec 2015 15:51:45 +0000 (17:51 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Jan 2016 13:00:32 +0000 (15:00 +0200)
commitdea16eddb4753129dbcd8dc8d1a58ff0cc4ea38c
tree18a24f72f258d3aac65ad46dc9ffc04e0d4fcf49
parente33a99e227e430a788467e5a85dc29f6df16b983
wil6210: fix kernel OOPS when stopping interface during Rx traffic

When network interface is stopping, some resources may
be already released by the network stack, and Rx frames
cause kernel OOPS (observed one is in netfilter code)

Proper solution is to drop packets pending in reorder buffer.

Signed-off-by: Hamad Kadmany <qca_hkadmany@qca.qualcomm.com>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/rx_reorder.c