[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140518.211457.1577062584301411622.davem@davemloft.net>
Date: Sun, 18 May 2014 21:14:57 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: cengelma@....at
Cc: netdev@...r.kernel.org, amirv@...lanox.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/mlx4_en: Fix uninitialized use of 'port_up' in
mlx4_en_set_channels()
From: Christian Engelmayer <cengelma@....at>
Date: Sat, 17 May 2014 23:52:03 +0200
> Function mlx4_en_set_channels() stops running ports before performing the
> requested action. In that case local variable 'port_up' is set so that the
> port is restarted at the end of the function, however, in case the port was
> not stopped, variable 'port_up' is left uninitialized and the behaviour is
> undetermined. Detected by Coverity - CID 751497.
>
> Signed-off-by: Christian Engelmayer <cengelma@....at>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists