diff options
| author | Liping Zhang <[email protected]> | 2017-02-18 02:35:47 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2017-02-21 12:45:47 +0000 |
| commit | 4eba8b78e1390f46828e00d6fa4d651c3d219894 (patch) | |
| tree | 0ef5f78b44a71b8461608b35d3b9afc01d676e5d /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | netfilter: nfnetlink_queue: fix NFQA_VLAN_MAX definition (diff) | |
| download | kernel-4eba8b78e1390f46828e00d6fa4d651c3d219894.tar.gz kernel-4eba8b78e1390f46828e00d6fa4d651c3d219894.zip | |
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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
