Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97641
b: refs/heads/master
c: b9c6989
h: refs/heads/master
i:
  97639: 3025f38
v: v3
  • Loading branch information
Jarek Poplawski authored and David S. Miller committed Jun 4, 2008
1 parent f35e477 commit 49a4c45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: d2ee3f2c4b1db1320c1efb4dcaceeaf6c7e6c2d3
refs/heads/master: b9c698964614f71b9c8afeca163a945b4c2e2d20
8 changes: 5 additions & 3 deletions trunk/net/ipv6/netfilter/nf_conntrack_reasm.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,9 @@ fq_find(__be32 id, struct in6_addr *src, struct in6_addr *dst)
arg.dst = dst;
hash = ip6qhashfn(id, src, dst);

local_bh_disable();
q = inet_frag_find(&nf_init_frags, &nf_frags, &arg, hash);
local_bh_enable();
if (q == NULL)
goto oom;

Expand Down Expand Up @@ -638,10 +640,10 @@ struct sk_buff *nf_ct_frag6_gather(struct sk_buff *skb)
goto ret_orig;
}

spin_lock(&fq->q.lock);
spin_lock_bh(&fq->q.lock);

if (nf_ct_frag6_queue(fq, clone, fhdr, nhoff) < 0) {
spin_unlock(&fq->q.lock);
spin_unlock_bh(&fq->q.lock);
pr_debug("Can't insert skb to queue\n");
fq_put(fq);
goto ret_orig;
Expand All @@ -653,7 +655,7 @@ struct sk_buff *nf_ct_frag6_gather(struct sk_buff *skb)
if (ret_skb == NULL)
pr_debug("Can't reassemble fragmented packets\n");
}
spin_unlock(&fq->q.lock);
spin_unlock_bh(&fq->q.lock);

fq_put(fq);
return ret_skb;
Expand Down

0 comments on commit 49a4c45

Please sign in to comment.