• Felix Fietkau's avatar
    ath9k: another fix for the A-MPDU buffer leak · 31e79a59
    Felix Fietkau authored
    The patch 'ath9k: fix a buffer leak in A-MPDU completion' addressed the
    issue of running out of buffers/descriptors in the tx path if a STA is
    deleted while tx status feedback is still pending.
    The remaining issue is that the skbs of the buffers are not reclaimed,
    leaving a memory leak.
    This patch fixes this issue by running the buffers through
    ath_tx_complete_buf(), ensuring that the pending frames counter is also
    updated.
    Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
    Cc: stable@kernel.org
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    31e79a59
xmit.c 63.5 KB