diff options
author | 2020-08-14 13:26:22 +0100 | |
---|---|---|
committer | 2020-08-14 14:07:16 -0700 | |
commit | 068885434ccb20542e0d759aebbefe7a6724d85f (patch) | |
tree | 0b09ac803886c4b0af1e13ab88bacfd83570a668 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'linux-can-fixes-for-5.9-20200814' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (diff) | |
download | wireguard-linux-068885434ccb20542e0d759aebbefe7a6724d85f.tar.xz wireguard-linux-068885434ccb20542e0d759aebbefe7a6724d85f.zip |
sfc: check hash is valid before using it
On EF100, the RX hash field in the packet prefix may not be valid (e.g.
if the header parse failed), and this is indicated by a one-bit flag
elsewhere in the packet prefix. Only call skb_set_hash() if the
RSS_HASH_VALID bit is set.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions