]> asedeno.scripts.mit.edu Git - linux.git/commit
iwlwifi: mvm: Drop large non sta frames
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Mon, 15 Apr 2019 13:45:04 +0000 (16:45 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Sat, 29 Jun 2019 07:09:41 +0000 (10:09 +0300)
commitac70499ee97231a418dc1a4d6c9dc102e8f64631
treef0ca2daecf1972190ba6c2cfa9ded5b7bcafb44f
parent4fd445a2c855bbcab81fbe06d110e78dbd974a5b
iwlwifi: mvm: Drop large non sta frames

In some buggy scenarios we could possible attempt to transmit frames larger
than maximum MSDU size. Since our devices don't know how to handle this,
it may result in asserts, hangs etc.
This can happen, for example, when we receive a large multicast frame
and try to transmit it back to the air in AP mode.
Since in a legal scenario this should never happen, drop such frames and
warn about it.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c