X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fnetfilter%2Fnf_log.c;h=cec9976aecbf5c5e8592c8c841d57532f8748655;hb=ca7c48ca97e5e1d9dbc26cef165814f96d38d96b;hp=4f5f2885fcac31de3d43f2eceba9c8ba8ebf75eb;hpb=3046d76746311ac7ff0cdc3ec42db15730528dbf;p=linux-2.6 diff --git a/net/netfilter/nf_log.c b/net/netfilter/nf_log.c index 4f5f2885fc..cec9976aec 100644 --- a/net/netfilter/nf_log.c +++ b/net/netfilter/nf_log.c @@ -103,6 +103,7 @@ EXPORT_SYMBOL(nf_log_packet); #ifdef CONFIG_PROC_FS static void *seq_start(struct seq_file *seq, loff_t *pos) + __acquires(RCU) { rcu_read_lock(); @@ -123,6 +124,7 @@ static void *seq_next(struct seq_file *s, void *v, loff_t *pos) } static void seq_stop(struct seq_file *s, void *v) + __releases(RCU) { rcu_read_unlock(); }