summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_tables_api.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso2018-05-27 21:08:13 +0200
committerPablo Neira Ayuso2018-05-29 00:10:03 +0200
commitad9d9e85072b668731f356be0a3750a3ba22a607 (patch)
tree4d3dbdeed7b1c48921ee55e839bba57973ea69fc /net/netfilter/nf_tables_api.c
parentnetfilter: provide correct argument to nla_strlcpy() (diff)
downloadkernel-qcow2-linux-ad9d9e85072b668731f356be0a3750a3ba22a607.tar.gz
kernel-qcow2-linux-ad9d9e85072b668731f356be0a3750a3ba22a607.tar.xz
kernel-qcow2-linux-ad9d9e85072b668731f356be0a3750a3ba22a607.zip
netfilter: nf_tables: disable preemption in nft_update_chain_stats()
This patch fixes the following splat. [118709.054937] BUG: using smp_processor_id() in preemptible [00000000] code: test/1571 [118709.054970] caller is nft_update_chain_stats.isra.4+0x53/0x97 [nf_tables] [118709.054980] CPU: 2 PID: 1571 Comm: test Not tainted 4.17.0-rc6+ #335 [...] [118709.054992] Call Trace: [118709.055011] dump_stack+0x5f/0x86 [118709.055026] check_preemption_disabled+0xd4/0xe4 Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_tables_api.c')
0 files changed, 0 insertions, 0 deletions