All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: John Linville <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/2] mac80211: fix CCMP PN race
Date: Wed, 06 Jul 2011 21:28:04 +0200	[thread overview]
Message-ID: <1309980484.3893.10.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <20110706101558.466384440@sipsolutions.net> (sfid-20110706_121637_541845_ADF8A914)

On Wed, 2011-07-06 at 12:09 +0200, Johannes Berg wrote:
> plain text document attachment (009-mac80211-fix-ccmp-races.patch)
> From: Johannes Berg <johannes.berg@intel.com>
> 
> Since we can process multiple packets at the
> same time for different ACs, but the PN is
> allocated from a single counter, we need to
> use an atomic value there. Use atomic64_t to
> make this cheaper on 64-bit platforms, other
> platforms will support this through software
> emulation, see lib/atomic64.c.

This fixes the PN race but is incomplete, will send a new version.

johannes


  reply	other threads:[~2011-07-06 19:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06 10:09 [PATCH 0/2] fix mac80211 crypto races Johannes Berg
2011-07-06 10:09 ` [PATCH 1/2] mac80211: fix TKIP races, make API easier to use Johannes Berg
2011-07-07 20:28   ` [PATCH 1/2 v2] " Johannes Berg
2011-07-06 10:09 ` [PATCH 2/2] mac80211: fix CCMP PN race Johannes Berg
2011-07-06 19:28   ` Johannes Berg [this message]
2011-07-06 19:59   ` [PATCH 2/2 v2] mac80211: fix CCMP races Johannes Berg
2011-07-06 20:00 ` [PATCH 3/2] mac80211: fix CMAC races Johannes Berg

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=1309980484.3893.10.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.