diff options
author | Hans Schillstrom <hans.schillstrom@ericsson.com> | 2012-04-26 09:45:34 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-04-30 10:40:14 +0200 |
commit | 4b984cd50bc1b6d492175cd77bfabb78e76ffa67 (patch) | |
tree | f338dce013046c295f177ad190cd5c88040ee8cf /include/net/ip_vs.h | |
parent | 39f618b4fd95ae243d940ec64c961009c74e3333 (diff) | |
download | op-kernel-dev-4b984cd50bc1b6d492175cd77bfabb78e76ffa67.zip op-kernel-dev-4b984cd50bc1b6d492175cd77bfabb78e76ffa67.tar.gz |
ipvs: null check of net->ipvs in lblc(r) shedulers
Avoid crash when registering shedulers after
the IPVS core initialization for netns fails. Do this by
checking for present core (net->ipvs).
Signed-off-by: Hans Schillstrom <hans.schillstrom@ericsson.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/net/ip_vs.h')
0 files changed, 0 insertions, 0 deletions