From: Johannes Berg <johannes@sipsolutions.net>
To: Tomas Winkler <tomas.winkler@intel.com>
Cc: linville@tuxdriver.com, yi.zhu@intel.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/2] mac80211: fix unbalanced locking in ieee80211_get_buffered_bc
Date: Mon, 02 Jun 2008 18:53:15 +0200 [thread overview]
Message-ID: <1212425595.20021.0.camel@johannes.berg> (raw)
In-Reply-To: <1212421452-5635-1-git-send-email-tomas.winkler@intel.com>
[-- Attachment #1: Type: text/plain, Size: 146 bytes --]
Good catch. However, we'll leak skb in that case, so how about:
if (WARN_ON(tx.skb != skb))
- return NULL;
+ res = TX_DROP;
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2008-06-02 16:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-02 15:44 [PATCH 1/2] mac80211: fix unbalanced locking in ieee80211_get_buffered_bc Tomas Winkler
2008-06-02 15:44 ` [PATCH 2/2] mac80211: removing shadowed sband Tomas Winkler
2008-06-02 16:54 ` Johannes Berg
2008-06-02 17:04 ` Tomas Winkler
2008-06-02 17:08 ` Johannes Berg
2008-06-02 16:53 ` Johannes Berg [this message]
2008-06-02 16:59 ` [PATCH 1/2] mac80211: fix unbalanced locking in ieee80211_get_buffered_bc Tomas Winkler
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=1212425595.20021.0.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--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