nat64: reinstate atomic operations

Turns out the atomics just needed to operate on a 64-bit variable, we
didn't actually need a newer compiler.

Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
This commit is contained in:
Toke Høiland-Jørgensen
2021-09-30 23:11:15 +02:00
parent b6a3775b6a
commit 3b200d0153
2 changed files with 4 additions and 7 deletions

View File

@@ -6,9 +6,9 @@
struct nat64_config {
struct in6_addr v6_prefix;
__u64 timeout_ns;
__u64 next_addr;
__u32 v4_prefix;
__u32 v4_mask;
__u32 next_addr;
};
struct v6_addr_state {