Skip to content

Commit d11b264

Browse files
Sebastian Andrzej SiewiorFlorian Westphal
authored andcommitted
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: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Florian Westphal <[email protected]>
1 parent 08d07f2 commit d11b264

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

net/netfilter/nft_set_pipapo_avx2.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,9 +1171,7 @@ nft_pipapo_avx2_lookup(const struct net *net, const struct nft_set *set,
11711171

11721172
m = rcu_dereference(priv->match);
11731173

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

0 commit comments

Comments
 (0)