aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2012-07-07 20:30:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-21 09:17:11 -0700
commite3c418797de13ba083bede8192a7873483feaf1d (patch)
treec60876e247ca02dbb71c16222ace0847b757e202 /include/net
parente5d5ba9f15c541fbc4aef3fb70ae69c4e24ae1f3 (diff)
downloadkernel_samsung_smdk4412-e3c418797de13ba083bede8192a7873483feaf1d.zip
kernel_samsung_smdk4412-e3c418797de13ba083bede8192a7873483feaf1d.tar.gz
kernel_samsung_smdk4412-e3c418797de13ba083bede8192a7873483feaf1d.tar.bz2
ipvs: fix oops in ip_vs_dst_event on rmmod
commit 283283c4da91adc44b03519f434ee1e7e91d6fdb upstream. After commit 39f618b4fd95ae243d940ec64c961009c74e3333 (3.4) "ipvs: reset ipvs pointer in netns" we can oops in ip_vs_dst_event on rmmod ip_vs because ip_vs_control_cleanup is called after the ipvs_core_ops subsys is unregistered and net->ipvs is NULL. Fix it by exiting early from ip_vs_dst_event if ipvs is NULL. It is safe because all services and dests for the net are already freed. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Acked-by: David Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions