Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202947
b: refs/heads/master
c: 0b041f8
h: refs/heads/master
i:
  202945: cd7505f
  202943: bd4a035
v: v3
  • Loading branch information
Shan Wei authored and Patrick McHardy committed Jun 14, 2010
1 parent 09bcbea commit f842780
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 841a5940eb872d70dad2b9ee7f946d8fd13a8c22
refs/heads/master: 0b041f8d1e6fb11a6134d37230da8c2182f99110
6 changes: 2 additions & 4 deletions trunk/net/ipv6/netfilter/nf_conntrack_reasm.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,8 @@ static void nf_skb_free(struct sk_buff *skb)
}

/* Memory Tracking Functions. */
static inline void frag_kfree_skb(struct sk_buff *skb, unsigned int *work)
static void frag_kfree_skb(struct sk_buff *skb)
{
if (work)
*work -= skb->truesize;
atomic_sub(skb->truesize, &nf_init_frags.mem);
nf_skb_free(skb);
kfree_skb(skb);
Expand Down Expand Up @@ -335,7 +333,7 @@ static int nf_ct_frag6_queue(struct nf_ct_frag6_queue *fq, struct sk_buff *skb,
fq->q.fragments = next;

fq->q.meat -= free_it->len;
frag_kfree_skb(free_it, NULL);
frag_kfree_skb(free_it);
}
}

Expand Down

0 comments on commit f842780

Please sign in to comment.