commit | 4eba8b78e1390f46828e00d6fa4d651c3d219894 | [log] [tgz] |
---|---|---|
author | Liping Zhang <zlpnobody@gmail.com> | Sat Feb 18 10:35:47 2017 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Feb 21 13:45:47 2017 +0100 |
tree | 0ef5f78b44a71b8461608b35d3b9afc01d676e5d | |
parent | ba896a05ad9375912ccebdac9623aab97845600f [diff] |
netfilter: nfnetlink: remove static declaration from err_list Otherwise, different subsys will race to access the err_list, with holding the different nfnl_lock(subsys_id). But this will not happen now, since ->call_batch is only implemented by nftables, so the err_list is protected by nfnl_lock(NFNL_SUBSYS_NFTABLES). Signed-off-by: Liping Zhang <zlpnobody@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>