diff options
author | Julian Anastasov <ja@ssi.bg> | 2012-07-07 17:30:11 (GMT) |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-07-17 10:00:58 (GMT) |
commit | 283283c4da91adc44b03519f434ee1e7e91d6fdb (patch) | |
tree | e37e991a30b63ff5fd7e2363bd361a93db545e5b /drivers/net/bonding | |
parent | 9e33ce453f8ac8452649802bee1f410319408f4b (diff) | |
download | linux-fsl-qoriq-283283c4da91adc44b03519f434ee1e7e91d6fdb.tar.xz |
ipvs: fix oops in ip_vs_dst_event on rmmod
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>
Diffstat (limited to 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions