git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: conntrack: convert to refcount_t api
[sfrench/cifs-2.6.git]
/
net
/
netfilter
/
nf_flow_table_core.c
diff --git
a/net/netfilter/nf_flow_table_core.c
b/net/netfilter/nf_flow_table_core.c
index ed37bb9b4e5886cd7681606ad9d423ec5575f9be..b90eca7a2f22bf8f4f6e4eced7650017c70c041d 100644
(file)
--- a/
net/netfilter/nf_flow_table_core.c
+++ b/
net/netfilter/nf_flow_table_core.c
@@
-48,7
+48,7
@@
struct flow_offload *flow_offload_alloc(struct nf_conn *ct)
struct flow_offload *flow;
if (unlikely(nf_ct_is_dying(ct) ||
- !
atomic
_inc_not_zero(&ct->ct_general.use)))
+ !
refcount
_inc_not_zero(&ct->ct_general.use)))
return NULL;
flow = kzalloc(sizeof(*flow), GFP_ATOMIC);