Skip to content
Commit 4883ec51 authored by Florian Westphal's avatar Florian Westphal
Browse files

netfilter: conntrack: avoid reload of ct->status



Compiler can't merge the two test_bit() calls, so load ct->status
once and use non-atomic accesses.

This is fine because IPS_EXPECTED or NAT_CLASH are either set at ct
creation time or not at all, but compiler can't know that.

Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
parent 50bfbb89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment