mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
net: ena: rss: do not allocate key when not supported
[ Upstream commit6a4f7dc82d] 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:1738cd3ed3("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
5dfbf5d0aa
commit
e9d66152af
1 changed files with 21 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue