In pfsync(4) sc_len is modified with atomic operations except in
authorbluhm <bluhm@openbsd.org>
Thu, 7 Apr 2022 13:38:54 +0000 (13:38 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 7 Apr 2022 13:38:54 +0000 (13:38 +0000)
commit575778de4c0c9ea81e267e05d157dcf52b005e30
tree0a5c64e0e7173489e19e9af6c1db73f548b9f03e
parentb306148fec4500b0a445f5c4208eb85de774a2b5
In pfsync(4) sc_len is modified with atomic operations except in
one place.  Use atomic_add_long() there.  Call the local variable
sclen, that makes it easier to grep for the struct field sc_len.
OK sashan@
sys/net/if_pfsync.c