linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ian Schram <ischram@telenet.be>
To: Zhu Yi <yi.zhu@intel.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org,
	Emmanuel Grumbach <emmanuel.grumbach@intel.com>,
	Tomas Winkler <tomas.winkler@intel.com>
Subject: Re: [PATCH 08/10] iwlwifi: decrement rx skb counter in scan abort handler
Date: Mon, 04 Aug 2008 16:48:51 +0200	[thread overview]
Message-ID: <489716D3.1030101@telenet.be> (raw)
In-Reply-To: <1217836848-24288-9-git-send-email-yi.zhu@intel.com>

the exact same code is in iwl3945-base.c, looks to me as if it might require the same fix.

Zhu Yi wrote:
> From: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
> 
> This patch decrements rx skb counter in scan abort handler.
> 
> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
> Signed-off-by: Zhu Yi <yi.zhu@intel.com>
> ---
>  drivers/net/wireless/iwlwifi/iwl-scan.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/iwl-scan.c
> index 5a00ac2..9bb6adb 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-scan.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-scan.c
> @@ -202,6 +202,7 @@ static int iwl_send_scan_abort(struct iwl_priv *priv)
>  		clear_bit(STATUS_SCAN_HW, &priv->status);
>  	}
>  
> +	priv->alloc_rxb_skb--;
>  	dev_kfree_skb_any(cmd.meta.u.skb);
>  
>  	return ret;

  parent reply	other threads:[~2008-08-04 14:49 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-04  8:00 [PATCH 00/10] iwlwifi driver 08/04 updates Zhu Yi
2008-08-04  8:00 ` [PATCH 01/10] iwlwifi: HW bug fixes Zhu Yi
2008-08-04  8:00   ` [PATCH 02/10] iwlwifi: memory allocation optimization Zhu Yi
2008-08-04  8:00     ` [PATCH 03/10] iwlwifi: kill struct iwl4965_lq_mngr Zhu Yi
2008-08-04  8:00       ` [PATCH 04/10] iwlwifi: implement iwl5000_calc_rssi Zhu Yi
2008-08-04  8:00         ` [PATCH 05/10] iwlwifi: fix unhandled interrupt when HW rfkill is on Zhu Yi
2008-08-04  8:00           ` [PATCH 06/10] iwlwifi: cleanup iwl_tx_skb Zhu Yi
2008-08-04  8:00             ` [PATCH 07/10] iwlwifi: add level for debugging host command Zhu Yi
2008-08-04  8:00               ` [PATCH 08/10] iwlwifi: decrement rx skb counter in scan abort handler Zhu Yi
2008-08-04  8:00                 ` [PATCH 09/10] iwlwifi: grap nic access before accessing periphery registers Zhu Yi
2008-08-04  8:00                   ` [PATCH 10/10] iwl3945: fix merge mistake for packet injection Zhu Yi
2008-08-04 14:48                 ` Ian Schram [this message]
2008-08-05  6:36 ` [PATCH 00/10] iwlwifi driver 08/04 updates Zhu Yi
2008-08-05 13:03   ` John W. Linville
2008-08-05 15:36     ` Tomas Winkler
2008-08-06  1:04     ` Zhu Yi
2008-08-06 13:06       ` John W. Linville

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=489716D3.1030101@telenet.be \
    --to=ischram@telenet.be \
    --cc=emmanuel.grumbach@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=tomas.winkler@intel.com \
    --cc=yi.zhu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).