* [PATCH 4 of 5][ATM]: get accounting right when we remove skb
@ 2005-01-26 16:57 chas williams - CONTRACTOR
0 siblings, 0 replies; only message in thread
From: chas williams - CONTRACTOR @ 2005-01-26 16:57 UTC (permalink / raw)
To: netdev; +Cc: davem
please apply to 2.6
thanks!
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/01/24 13:25:27-05:00 chas@relax.cmf.nrl.navy.mil
# [ATM]: get accounting right when we remove skb
#
# Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
#
# net/atm/svc.c
# 2005/01/24 13:25:10-05:00 chas@relax.cmf.nrl.navy.mil +1 -0
# [ATM]: get accounting right when we remove skb
#
# Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
#
diff -Nru a/net/atm/svc.c b/net/atm/svc.c
--- a/net/atm/svc.c 2005-01-25 09:36:57 -05:00
+++ b/net/atm/svc.c 2005-01-25 09:36:57 -05:00
@@ -67,6 +67,7 @@
/* beware - socket is still in use by atmsigd until the last
as_indicate has been answered */
while ((skb = skb_dequeue(&vcc->sk->sk_receive_queue)) != NULL) {
+ atm_return(vcc, skb->truesize);
DPRINTK("LISTEN REL\n");
sigd_enq2(NULL,as_reject,vcc,NULL,NULL,&vcc->qos,0);
dev_kfree_skb(skb);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-01-26 16:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-26 16:57 [PATCH 4 of 5][ATM]: get accounting right when we remove skb chas williams - CONTRACTOR
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.