aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-02-27 12:57:37 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2007-02-28 12:42:14 -0500
commitb08d5840d2c5a6ac0bce172f4c861974d718e34b (patch)
tree8f9423bc255d312269065623fcb136fc661b8bc1 /net/dccp
parent4498121ca3acbf928681b71261227d28dc29b6f6 (diff)
[NET]: Fix kfree(skb)
Signed-off-by: Patrick McHardy <kaber@trash.net> Acked-by: Paul Moore <paul.moore@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
-rw-r--r--net/dccp/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/output.c b/net/dccp/output.c
index f5c6aca1dfa4..3282f2f2291b 100644
--- a/net/dccp/output.c
+++ b/net/dccp/output.c
@@ -269,7 +269,7 @@ void dccp_write_xmit(struct sock *sk, int block)
269 err); 269 err);
270 } else { 270 } else {
271 dccp_pr_debug("packet discarded\n"); 271 dccp_pr_debug("packet discarded\n");
272 kfree(skb); 272 kfree_skb(skb);
273 } 273 }
274 } 274 }
275} 275}