• Z
    iwlwifi: fix use after free bug for paged rx · 29b1b268
    Zhu Yi 提交于
    In the paged rx patch (4854fde2), I introduced a bug that could possibly
    touch an already freed page. It is fixed by avoiding the access in this
    patch. I've also added some comments so that other people touching the
    code won't make the same mistake. In the future, if we cannot avoid
    access the page after being handled to the upper layer, we can use
    get_page/put_page to handle it. For now, it's just not necessary.
    
    It also fixed a debug message print bug reported by Stanislaw Gruszka
    <sgruszka@redhat.com>.
    Signed-off-by: NZhu Yi <yi.zhu@intel.com>
    Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
    Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
    29b1b268
iwl3945-base.c 118.4 KB