Commit d11b2640 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Florian Westphal
Browse files

netfilter: nft_set_pipapo_avx2: Drop the comment regarding protection



The comment claims that the kernel_fpu_begin_mask() below protects
access to the scratch map. This is not true because the access is only
protected by local_bh_disable() above.

Remove the misleading comment.

Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
parent 08d07f25
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1171,9 +1171,7 @@ nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set,

	m = rcu_dereference(priv->match);

	/* This also protects access to all data related to scratch maps.
	 *
	 * Note that we don't need a valid MXCSR state for any of the
	/* Note that we don't need a valid MXCSR state for any of the
	 * operations we use here, so pass 0 as mask and spare a LDMXCSR
	 * instruction.
	 */