[SRU] [Bionic] [PATCH 0/1] Fix iwlwifi's off by one bug in TFD

Kai-Heng Feng kai.heng.feng at canonical.com
Thu Jan 3 06:42:23 UTC 2019


BugLink: https://bugs.launchpad.net/bugs/1801102

[Impact]
iwlwifi spews "Too many chunks: 20" in dmesg.

[Fix]
>From the patch description:
"
When we free the TFD, we check its number of valid pointers
and make sure it doesn't exceed the number of pointers the
hardware support.
This check had an off by one bug: it is perfectly valid to
free the 20 pointers if the TFD has 20 pointers.
"

[Test]
User confirms the patch solves the problem.

[Regression Potential]
Low. The fix is limited to iwlwifi, and the patch is in mainline for a
while.

Emmanuel Grumbach (1):
  iwlwifi: pcie: don't warn if we use all the transmit pointers

 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c | 2 +-
 drivers/net/wireless/intel/iwlwifi/pcie/tx.c      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.17.1




More information about the kernel-team mailing list