netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: xiyou.wangcong@gmail.com
Cc: netdev@vger.kernel.org, jet.chen@intel.com,
	steffen.klassert@secunet.com, antonio@open-mesh.com,
	mareklindner@neomailbox.ch, cwang@twopensource.com
Subject: Re: [Patch net] batman: fix a bogus warning from batadv_is_on_batman_iface()
Date: Thu, 22 May 2014 17:23:13 -0400 (EDT)	[thread overview]
Message-ID: <20140522.172313.1010680178989682498.davem@davemloft.net> (raw)
In-Reply-To: <1400785037-9963-1-git-send-email-xiyou.wangcong@gmail.com>

From: Cong Wang <xiyou.wangcong@gmail.com>
Date: Thu, 22 May 2014 11:57:17 -0700

> From: Cong Wang <cwang@twopensource.com>
> 
> batman tries to search dev->iflink to check if it's a batman interface,
> but ->iflink could be 0, which is not a valid ifindex. It should just
> avoid iflink == 0 case.
> 
> Reported-by: Jet Chen <jet.chen@intel.com>
> Tested-by: Jet Chen <jet.chen@intel.com>
> Cc: David S. Miller <davem@davemloft.net>
> Cc: Steffen Klassert <steffen.klassert@secunet.com>
> Cc: Antonio Quartulli <antonio@open-mesh.com>
> Cc: Marek Lindner <mareklindner@neomailbox.ch>
> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
> Signed-off-by: Cong Wang <cwang@twopensource.com>

Applied, thank you.

      reply	other threads:[~2014-05-22 21:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-22 18:57 [Patch net] batman: fix a bogus warning from batadv_is_on_batman_iface() Cong Wang
2014-05-22 21:23 ` David Miller [this message]

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=20140522.172313.1010680178989682498.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=antonio@open-mesh.com \
    --cc=cwang@twopensource.com \
    --cc=jet.chen@intel.com \
    --cc=mareklindner@neomailbox.ch \
    --cc=netdev@vger.kernel.org \
    --cc=steffen.klassert@secunet.com \
    --cc=xiyou.wangcong@gmail.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).