[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140522.172313.1010680178989682498.davem@davemloft.net>
Date: Thu, 22 May 2014 17:23:13 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: xiyou.wangcong@...il.com
Cc: netdev@...r.kernel.org, jet.chen@...el.com,
steffen.klassert@...unet.com, antonio@...n-mesh.com,
mareklindner@...mailbox.ch, cwang@...pensource.com
Subject: Re: [Patch net] batman: fix a bogus warning from
batadv_is_on_batman_iface()
From: Cong Wang <xiyou.wangcong@...il.com>
Date: Thu, 22 May 2014 11:57:17 -0700
> From: Cong Wang <cwang@...pensource.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@...el.com>
> Tested-by: Jet Chen <jet.chen@...el.com>
> Cc: David S. Miller <davem@...emloft.net>
> Cc: Steffen Klassert <steffen.klassert@...unet.com>
> Cc: Antonio Quartulli <antonio@...n-mesh.com>
> Cc: Marek Lindner <mareklindner@...mailbox.ch>
> Signed-off-by: Cong Wang <xiyou.wangcong@...il.com>
> Signed-off-by: Cong Wang <cwang@...pensource.com>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists