Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136050
b: refs/heads/master
c: af9d32a
h: refs/heads/master
v: v3
  • Loading branch information
Holger Eitzenberger authored and Patrick McHardy committed Mar 25, 2009
1 parent 60ed129 commit af84a64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e487eb99cf9381a4f8254fa01747a85818da612b
refs/heads/master: af9d32ad6718b9a80fa89f557cc1fbb63a93ec15
2 changes: 2 additions & 0 deletions trunk/include/net/netfilter/nf_conntrack_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

struct module;

#define NF_CT_HELPER_NAME_LEN 16

struct nf_conntrack_helper
{
struct hlist_node hnode; /* Internal use. */
Expand Down
1 change: 1 addition & 0 deletions trunk/net/netfilter/nf_conntrack_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ int nf_conntrack_helper_register(struct nf_conntrack_helper *me)

BUG_ON(me->expect_policy == NULL);
BUG_ON(me->expect_class_max >= NF_CT_MAX_EXPECT_CLASSES);
BUG_ON(strlen(me->name) > NF_CT_HELPER_NAME_LEN - 1);

mutex_lock(&nf_ct_helper_mutex);
hlist_add_head_rcu(&me->hnode, &nf_ct_helper_hash[h]);
Expand Down

0 comments on commit af84a64

Please sign in to comment.