[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160327082254.GA10620@electric-eye.fr.zoreil.com>
Date: Sun, 27 Mar 2016 10:22:54 +0200
From: Francois Romieu <romieu@...zoreil.com>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: sxgbe: fix error paths in sxgbe_platform_probe()
Rasmus Villemoes <linux@...musvillemoes.dk> :
> We need to use post-decrement to ensure that irq_dispose_mapping is
> also called on priv->rxq[0]->irq_no; moreover, if one of the above for
> loops failed already at i==0 (so we reach one of these labels with
> that value of i), we'll enter an essentially infinite loop of
> out-of-bounds accesses.
>
> Signed-off-by: Rasmus Villemoes <linux@...musvillemoes.dk>
(ok, i is signed)
Reviewed-by: Francois Romieu <romieu@...zoreil.com>
Someone messed with my review on 2014/03/25 and got it wrong. :o/
Two years after the initial submission, there is zero change regarding use
of sxgbe_core_ops for extension or manageability. The extra indirection is
ripe for removal during next net-next.
--
Ueimor
Powered by blists - more mailing lists