summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-09-26 12:57:54 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2017-09-26 21:15:17 +0300
commite23ed762db7ed1950a6408c3be80bc56909ab3d4 (patch)
tree1cb49a23e81377df67a3909cf45d139c7a197b82 /tools/perf/util/scripting-engines/trace-event-python.c
parent48596a8ddc46f96afb6a2cd72787cb15d6bb01fc (diff)
downloadlinux-e23ed762db7ed1950a6408c3be80bc56909ab3d4.tar.xz
netfilter: ipset: pernet ops must be unregistered last
Removing the ipset module leaves a small window where one cpu performs module removal while another runs a command like 'ipset flush'. ipset uses net_generic(), unregistering the pernet ops frees this storage area. Fix it by first removing the user-visible api handlers and the pernet ops last. Fixes: 1785e8f473082 ("netfiler: ipset: Add net namespace for ipset") Reported-by: Li Shuang <shuali@redhat.com> Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions