Home
last modified time | relevance | path

Searched hist:"1174 e8fcbba89593f67240c3395554b3812a4981" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drxmq.cdiff 1174e8fcbba89593f67240c3395554b3812a4981 Mon Dec 05 02:35:40 CST 2022 Mordechay Goodstein <mordechay.goodstein@intel.com> wifi: iwlwifi: mvm: don't access packet before checking len

Currently in sniffer mode we access pkt fields before checking that
the frame has the length to access it. Fix this by moving the check
to before the access.

Signed-off-by: Mordechay Goodstein <mordechay.goodstein@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20221205102808.934da230c698.Ib56f11bbc8978e15d38394336a929cb4996ba39e@changeid