Bugfix for capi.c in Linux 2.4.0-test1

From: Carsten Paeth (calle@calle.in-berlin.de)
Date: Mon Jun 19 2000 - 10:47:09 EST


Hello.

In drivers/isdn/avmb1/capi.c there is a memory leak, which will be fixed
with the following patch:

--- drivers/isdn/avmb1/capi.c.org Mon Jun 19 16:06:25 2000
+++ drivers/isdn/avmb1/capi.c Mon Jun 19 16:06:41 2000
@@ -653,6 +653,7 @@
                                         datahandle, skb->len);
 #endif
                 mp->tty->ldisc.receive_buf(mp->tty, skb->data, 0, skb->len);
+ kfree_skb(skb);
                 return 0;
 
         } else if (mp->file) {

regards

calle

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:17 EST