ipvs: take care of return value from protocol init_netns
authorHans Schillstrom <hans.schillstrom@ericsson.com>
Thu, 26 Apr 2012 07:45:35 +0000 (09:45 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Apr 2012 08:40:35 +0000 (10:40 +0200)
commit582b8e3eadaec77788c1aa188081a8d5059c42a6
tree57f869aac66f51e56499c06027c7d1055285600b
parent4b984cd50bc1b6d492175cd77bfabb78e76ffa67
ipvs: take care of return value from protocol init_netns

ip_vs_create_timeout_table() can return NULL
All functions protocol init_netns is affected of this patch.

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>
include/net/ip_vs.h
net/netfilter/ipvs/ip_vs_proto.c
net/netfilter/ipvs/ip_vs_proto_sctp.c
net/netfilter/ipvs/ip_vs_proto_tcp.c
net/netfilter/ipvs/ip_vs_proto_udp.c