Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26167
b: refs/heads/master
c: e1bbdeb
h: refs/heads/master
i:
  26165: c4b35d8
  26163: 123c5db
  26159: 8c573ec
v: v3
  • Loading branch information
Yasuyuki Kozakai authored and David S. Miller committed Apr 25, 2006
1 parent 0c6278f commit 2160b2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d8fe3f19203b1f5070358aaa292d33295258b448
refs/heads/master: e1bbdebdba615ddd957de81103aa2f7fa0581952
12 changes: 4 additions & 8 deletions trunk/net/netfilter/nf_conntrack_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,8 @@ nf_ct_proto_find_get(u_int16_t l3proto, u_int8_t protocol)

preempt_disable();
p = __nf_ct_proto_find(l3proto, protocol);
if (p) {
if (!try_module_get(p->me))
p = &nf_conntrack_generic_protocol;
}
if (!try_module_get(p->me))
p = &nf_conntrack_generic_protocol;
preempt_enable();

return p;
Expand All @@ -229,10 +227,8 @@ nf_ct_l3proto_find_get(u_int16_t l3proto)

preempt_disable();
p = __nf_ct_l3proto_find(l3proto);
if (p) {
if (!try_module_get(p->me))
p = &nf_conntrack_generic_l3proto;
}
if (!try_module_get(p->me))
p = &nf_conntrack_generic_l3proto;
preempt_enable();

return p;
Expand Down
1 change: 0 additions & 1 deletion trunk/net/netfilter/nf_conntrack_l3proto_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,4 @@ struct nf_conntrack_l3proto nf_conntrack_generic_l3proto = {
.print_conntrack = generic_print_conntrack,
.prepare = generic_prepare,
.get_features = generic_get_features,
.me = THIS_MODULE,
};

0 comments on commit 2160b2d

Please sign in to comment.