diff options
author | 2018-10-09 11:21:29 +0300 | |
---|---|---|
committer | 2018-10-09 10:49:49 -0700 | |
commit | 78a55d05def95144ca5fa9a64c49b2a0636a9866 (patch) | |
tree | 7bb860bc8cb7773d60144904df956a0ee59ebf4e /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: ena: fix rare bug when failed restart/resume is followed by driver removal (diff) | |
download | wireguard-linux-78a55d05def95144ca5fa9a64c49b2a0636a9866.tar.xz wireguard-linux-78a55d05def95144ca5fa9a64c49b2a0636a9866.zip |
net: ena: fix NULL dereference due to untimely napi initialization
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: 1738cd3ed342 ("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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions