Files
linux/drivers/net
Arthur Kiyanovski dd811c86ec net: ena: fix NULL dereference due to untimely napi initialization
[ Upstream commit 78a55d05de ]

napi poll functions should be initialized before running request_irq(),
to handle a rare condition where there is a pending interrupt, causing
the ISR to fire immediately while the poll function wasn't set yet,
causing a NULL dereference.

Fixes: 1738cd3ed3 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-15 09:14:46 +09:00
..
2016-06-15 22:06:06 -07:00
2018-04-30 06:05:25 -07:00
2023-05-15 09:13:04 +09:00
2017-12-09 22:01:54 +01:00
2016-05-09 00:00:28 -04:00
2016-04-26 15:53:05 -04:00
2018-01-31 14:13:00 +01:00
2018-03-22 09:17:57 +01:00