| commit | 72fa42cfca7060fab00c534e71fc850b194a4c6d | [log] [tgz] |
|---|---|---|
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | Sun Apr 28 16:00:58 2024 +0900 |
| committer | Jason Wang <jasowang@redhat.com> | Tue Jun 04 15:14:26 2024 +0800 |
| tree | 2ffd19d4c918ad9d75ebed96382527befacfcb33 | |
| parent | a4c960eedcd2c68ff784fb4d4cb8ddd5bff8814f [diff] |
ebpf: Fix RSS error handling
calculate_rss_hash() was using hash value 0 to tell if it calculated
a hash, but the hash value may be 0 on a rare occasion. Have a
distinct bool value for correctness.
Fixes: f3fa412de2 ("ebpf: Added eBPF RSS program.")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>