[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161019.103829.1873231752009765175.davem@davemloft.net>
Date: Wed, 19 Oct 2016 10:38:29 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: idosch@...sch.org
Cc: netdev@...r.kernel.org, jiri@...lanox.com, eladr@...lanox.com,
yotamg@...lanox.com, nogahf@...lanox.com, ogerlitz@...lanox.com,
dsa@...ulusnetworks.com, idosch@...lanox.com
Subject: Re: [PATCH net] net: core: Correctly iterate over lower adjacency
list
From: idosch@...sch.org
Date: Wed, 19 Oct 2016 16:57:08 +0300
> From: Ido Schimmel <idosch@...lanox.com>
>
> Tamir reported the following trace when processing ARP requests received
> via a vlan device on top of a VLAN-aware bridge:
...
> The problem is that netdev_all_lower_get_next_rcu() never advances the
> iterator, thereby causing the loop over the lower adjacency list to run
> forever.
>
> Fix this by advancing the iterator and avoid the infinite loop.
>
> Fixes: 7ce856aaaf13 ("mlxsw: spectrum: Add couple of lower device helper functions")
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> Reported-by: Tamir Winetroub <tamirw@...lanox.com>
> Reviewed-by: Jiri Pirko <jiri@...lanox.com>
Applied.
Powered by blists - more mailing lists