linux/net/netfilter
Julian Anastasov 7cf2eb7bcc ipvs: fix sparse warnings for ip_vs_conn listing
kbuild test robot reports for sparse warnings
in commit 088339a57d6042 ("ipvs: convert connection locking"):

net/netfilter/ipvs/ip_vs_conn.c:962:13: warning: context imbalance
	in 'ip_vs_conn_array' - wrong count at exit
include/linux/rcupdate.h:326:30: warning: context imbalance in
	'ip_vs_conn_seq_next' - unexpected unlock
include/linux/rcupdate.h:326:30: warning: context imbalance in
	'ip_vs_conn_seq_stop' - unexpected unlock

Fix it by running ip_vs_conn_array under RCU lock
to avoid conditional locking and by adding proper RCU
annotations.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
2013-04-23 11:43:05 +09:00
..
2013-04-18 20:27:55 +02:00
2013-02-21 12:05:51 -08:00
2013-01-21 12:20:19 +01:00
2011-12-16 15:49:52 -05:00
2013-01-21 12:20:19 +01:00
2010-07-15 17:20:46 +02:00
2013-02-05 01:49:26 +01:00
2011-07-01 16:11:15 -07:00
2011-07-01 16:11:15 -07:00
2011-12-16 15:49:52 -05:00