diff options
author | Sameeh Jubran <sameehj@amazon.com> | 2020-02-11 15:17:44 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-11 17:08:30 -0800 |
commit | 6a4f7dc82d1e3abd3feb0c60b5041056fcd9880c (patch) | |
tree | 053a2cd5e4916720ce46d0682daa801d949a8182 /Makefile | |
parent | net: ena: fix incorrect default RSS key (diff) | |
download | linux-dev-6a4f7dc82d1e3abd3feb0c60b5041056fcd9880c.tar.xz linux-dev-6a4f7dc82d1e3abd3feb0c60b5041056fcd9880c.zip |
net: ena: rss: do not allocate key when not supported
Currently we allocate the key whether the device supports setting the
key or not. This commit adds a check to the allocation function and
handles the error accordingly.
Fixes: 1738cd3ed342 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions