linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Bob Copeland <me@bobcopeland.com>
Cc: thomas@cozybit.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mac80211: return new mpath from mesh_path_add()
Date: Fri, 22 Mar 2013 11:44:16 +0100	[thread overview]
Message-ID: <1363949056.8238.12.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <20130321022033.GA17491@localhost> (sfid-20130321_032042_109292_4BF63A94)

On Wed, 2013-03-20 at 22:20 -0400, Bob Copeland wrote:
> Most times that mesh_path_add() is called, it is followed by
> a lookup to get the just-added mpath.  We can instead just
> return the new mpath in the case that we allocated one (or the
> existing one if already there), so do that.  Also, reorder the
> code in mesh_path_add a bit so that we don't need to allocate
> in the pre-existing case.

This doesn't apply (on mac80211-next.)

johannes


  reply	other threads:[~2013-03-22 10:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-21  2:20 [PATCH] mac80211: return new mpath from mesh_path_add() Bob Copeland
2013-03-22 10:44 ` Johannes Berg [this message]
2013-03-22 11:37   ` Bob Copeland
  -- strict thread matches above, loose matches on Subject: below --
2013-03-29 13:38 Bob Copeland
2013-04-03 12:21 ` 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=1363949056.8238.12.camel@jlt4.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=me@bobcopeland.com \
    --cc=thomas@cozybit.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).