summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/amazon/ena/ena_netdev.c
diff options
context:
space:
mode:
authorDavid Arinzon <darinzon@amazon.com>2022-12-29 07:30:05 +0000
committerDavid S. Miller <davem@davemloft.net>2022-12-30 07:43:43 +0000
commit332b49ff637d6c1a75b971022a8b992cf3c57db1 (patch)
tree52ad38490e7f1e2727daa286778c1aa79e5d9cba /drivers/net/ethernet/amazon/ena/ena_netdev.c
parent1573c6882018f69991aead951d09423ce978adac (diff)
net: ena: Fix toeplitz initial hash value
On driver initialization, RSS hash initial value is set to zero, instead of the default value. This happens because we pass NULL as the RSS key parameter, which caused us to never initialize the RSS hash value. This patch fixes it by making sure the initial value is set, no matter what the value of the RSS key is. Fixes: 91a65b7d3ed8 ("net: ena: fix potential crash when rxfh key is NULL") Signed-off-by: Nati Koler <nkoler@amazon.com> Signed-off-by: David Arinzon <darinzon@amazon.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/amazon/ena/ena_netdev.c')
0 files changed, 0 insertions, 0 deletions