diff options
author | Edward Cree <ecree@solarflare.com> | 2020-08-14 13:26:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-14 14:07:16 -0700 |
commit | 068885434ccb20542e0d759aebbefe7a6724d85f (patch) | |
tree | 0b09ac803886c4b0af1e13ab88bacfd83570a668 /net | |
parent | e591d298cc7b9e2d82e701ab3fdfe7c97b692994 (diff) | |
download | linux-stable-068885434ccb20542e0d759aebbefe7a6724d85f.tar.gz linux-stable-068885434ccb20542e0d759aebbefe7a6724d85f.tar.bz2 linux-stable-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 'net')
0 files changed, 0 insertions, 0 deletions