]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: dbg_ini: verify debug TLVs at allocation phase
authorShahar S Matityahu <shahar.s.matityahu@intel.com>
Sun, 30 Jun 2019 07:23:26 +0000 (10:23 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 6 Sep 2019 12:31:21 +0000 (15:31 +0300)
commit4964d5b2cea198d4e42f44718c3c9dda882c85ef
tree713467796a3ec2a75ed20c752d041871457a4327
parenta2f362cf890e2efdaf119e2dd6c4d125f6d135fb
iwlwifi: dbg_ini: verify debug TLVs at allocation phase

Reimplement debug TLV allocation flow. The driver will check the
validity of the debug TLVs prior allocating space for them.
Any malformed or unsupported TLV will be skipped.
The TLV specific checks will be added in later patches.

Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/fw/dbg.c
drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.h
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
drivers/net/wireless/intel/iwlwifi/iwl-trans.h