diff options
author | 2017-04-17 21:18:58 +0800 | |
---|---|---|
committer | 2017-04-24 20:06:29 +0200 | |
commit | 64f3967c7aacbfa1f0614cdb1a23e3f7e76eb61b (patch) | |
tree | 320d2de10fc5b7c82a8a3b735d30a6acc21032f1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: ctnetlink: make it safer when updating ct->status (diff) | |
download | wireguard-linux-64f3967c7aacbfa1f0614cdb1a23e3f7e76eb61b.tar.xz wireguard-linux-64f3967c7aacbfa1f0614cdb1a23e3f7e76eb61b.zip |
netfilter: ctnetlink: acquire ct->lock before operating nf_ct_seqadj
We should acquire the ct->lock before accessing or modifying the
nf_ct_seqadj, as another CPU may modify the nf_ct_seqadj at the same
time during its packet proccessing.
Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions