X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fnetfilter%2Fnf_log.c;h=cec9976aecbf5c5e8592c8c841d57532f8748655;hb=2c7871982cf27caaddbaeb7e2121ce1374b520ff;hp=4f5f2885fcac31de3d43f2eceba9c8ba8ebf75eb;hpb=bd45ac0c5daae35e7c71138172e63df5cf644cf6;p=~andy%2Flinux diff --git a/net/netfilter/nf_log.c b/net/netfilter/nf_log.c index 4f5f2885fca..cec9976aecb 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(); }