summaryrefslogtreecommitdiff
path: root/trafgen.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-03-16 17:06:21 +0100
committerDaniel Borkmann <dborkman@redhat.com>2013-03-16 17:06:21 +0100
commit99c9e3033abe511190bcf86c9d7578c6d8026b85 (patch)
tree7cb147f0d40538a848c26ef0fd241eab7aab7512 /trafgen.c
parent46c917dd2b4f2e126f6dbe074803323200a11d55 (diff)
flowtop: rcu: omit rcu_assign_pointer
If the new pointer is NULL anyway, this results in a constant expression during compile time (NULL != NULL) where a barrier is left out. Thus, it will have no different effect using rcu_assign_pointer() than assigning it directly. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'trafgen.c')
0 files changed, 0 insertions, 0 deletions