aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorFlorian Westphal <[email protected]>2017-09-26 11:57:54 +0200
committerPablo Neira Ayuso <[email protected]>2017-09-26 20:15:17 +0200
commite23ed762db7ed1950a6408c3be80bc56909ab3d4 (patch)
tree1cb49a23e81377df67a3909cf45d139c7a197b82 /lib/netdev-notifier-error-inject.c
parent48596a8ddc46f96afb6a2cd72787cb15d6bb01fc (diff)
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 <[email protected]> Signed-off-by: Florian Westphal <[email protected]> Acked-by: Jozsef Kadlecsik <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions