diff options
author | 2012-04-26 09:45:34 +0200 | |
---|---|---|
committer | 2012-04-30 10:40:14 +0200 | |
commit | 4b984cd50bc1b6d492175cd77bfabb78e76ffa67 (patch) | |
tree | f338dce013046c295f177ad190cd5c88040ee8cf /drivers/i2c/algos/i2c-algo-bit.c | |
parent | ipvs: reset ipvs pointer in netns (diff) | |
download | wireguard-linux-4b984cd50bc1b6d492175cd77bfabb78e76ffa67.tar.xz wireguard-linux-4b984cd50bc1b6d492175cd77bfabb78e76ffa67.zip |
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 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions