]> git.hungrycats.org Git - linux/commitdiff
[IPVS] fix the unlocking bug in the ip_vs_conn_seq_stop
authorWensong Zhang <wensong@linux-vs.org>
Sun, 5 Oct 2003 00:51:11 +0000 (17:51 -0700)
committerArnaldo Carvalho de Melo <acme@conectiva.com.br>
Sun, 5 Oct 2003 00:51:11 +0000 (17:51 -0700)
net/ipv4/ipvs/ip_vs_conn.c

index ca7c79f71941b2adf1c0ca092bf23d128fba9ecd..e9e33d9deb07827e0e1869d4938ade5e6141d78f 100644 (file)
@@ -670,8 +670,8 @@ static void ip_vs_conn_seq_stop(struct seq_file *seq, void *v)
 {
        struct list_head *l = seq->private;
 
-       if (l) 
-               ct_read_unlock(l - ip_vs_conn_tab);
+       if (l)
+               ct_read_unlock_bh(l - ip_vs_conn_tab);
 }
 
 static int ip_vs_conn_seq_show(struct seq_file *seq, void *v)