aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bpf/bpf_shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bpf/bpf_shared.h')
-rw-r--r--examples/bpf/bpf_shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bpf/bpf_shared.h b/examples/bpf/bpf_shared.h
index ea8f0147..a24038dd 100644
--- a/examples/bpf/bpf_shared.h
+++ b/examples/bpf/bpf_shared.h
@@ -10,7 +10,7 @@ enum {
};
struct count_tuple {
- long packets; /* type long for __sync_fetch_and_add() */
+ long packets; /* type long for lock_xadd() */
long bytes;
};