summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-08-14 13:26:22 +0100
committerDavid S. Miller <davem@davemloft.net>2020-08-14 14:07:16 -0700
commit068885434ccb20542e0d759aebbefe7a6724d85f (patch)
tree0b09ac803886c4b0af1e13ab88bacfd83570a668 /net
parente591d298cc7b9e2d82e701ab3fdfe7c97b692994 (diff)
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