Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322040
b: refs/heads/master
c: 68e035c
h: refs/heads/master
v: v3
  • Loading branch information
Pablo Neira Ayuso committed Aug 14, 2012
1 parent 71fb3df commit ef85a5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: f22eb25cf5b1157b29ef88c793b71972efc47143
refs/heads/master: 68e035c950dbceaf660144bf74054dfdfb6aad15
7 changes: 6 additions & 1 deletion trunk/net/netfilter/nf_conntrack_netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -1896,10 +1896,15 @@ static int
ctnetlink_nfqueue_parse(const struct nlattr *attr, struct nf_conn *ct)
{
struct nlattr *cda[CTA_MAX+1];
int ret;

nla_parse_nested(cda, CTA_MAX, attr, ct_nla_policy);

return ctnetlink_nfqueue_parse_ct((const struct nlattr **)cda, ct);
spin_lock_bh(&nf_conntrack_lock);
ret = ctnetlink_nfqueue_parse_ct((const struct nlattr **)cda, ct);
spin_unlock_bh(&nf_conntrack_lock);

return ret;
}

static struct nfq_ct_hook ctnetlink_nfqueue_hook = {
Expand Down

0 comments on commit ef85a5b

Please sign in to comment.