~ubuntu-branches/ubuntu/quantal/linux-lowlatency/quantal

« back to all changes in this revision

Viewing changes to net/netfilter/nf_log.c

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-04kado7d1u2er2rl
Tags: 3.2.0-16.25
Add new lowlatency kernel flavour

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
                llog = rcu_dereference_protected(nf_loggers[pf],
56
56
                                                 lockdep_is_held(&nf_log_mutex));
57
57
                if (llog == NULL)
58
 
                        RCU_INIT_POINTER(nf_loggers[pf], logger);
 
58
                        rcu_assign_pointer(nf_loggers[pf], logger);
59
59
        }
60
60
 
61
61
        mutex_unlock(&nf_log_mutex);
92
92
                mutex_unlock(&nf_log_mutex);
93
93
                return -ENOENT;
94
94
        }
95
 
        RCU_INIT_POINTER(nf_loggers[pf], logger);
 
95
        rcu_assign_pointer(nf_loggers[pf], logger);
96
96
        mutex_unlock(&nf_log_mutex);
97
97
        return 0;
98
98
}
250
250
                        mutex_unlock(&nf_log_mutex);
251
251
                        return -ENOENT;
252
252
                }
253
 
                RCU_INIT_POINTER(nf_loggers[tindex], logger);
 
253
                rcu_assign_pointer(nf_loggers[tindex], logger);
254
254
                mutex_unlock(&nf_log_mutex);
255
255
        } else {
256
256
                mutex_lock(&nf_log_mutex);