[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1403c768-7ed1-dc5c-38ae-ac91f876a175@ispras.ru>
Date: Mon, 5 Sep 2016 11:26:46 +0300
From: Pavel Andrianov <andrianov@...ras.ru>
To: Lars Persson <lars.persson@...s.com>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Vaishali Thakkar <vaishali.thakkar@...cle.com>,
ldv-project@...uxtesting.org
Subject: A potential bug in drivers/net/ethernet/synopsys/dwc_eth_qos.ko
Hi!
There is a potential bug in
drivers/net/ethernet/synopsys/dwc_eth_qos.ko. In dwceqos_probe there is
a registration of net device (line 2879). After that initialization of
common resources is continued (lines 2918, 2924, 2941), but at the
moment handlers from net device may be already executed.
Should the registration of net device be at the end of dwceqos_probe?
--
Pavel Andrianov
Linux Verification Center, ISPRAS
web: http://linuxtesting.org
e-mail: andrianov@...ras.ru
Powered by blists - more mailing lists