Re: PROBLEM: Memory problem 2.4.9-2.4.17

From: Marcin Prejsnar (alex@pronet.pl)
Date: Tue Jan 29 2002 - 13:36:50 EST


Dnia wto 29. styczeń 2002 07:39, Andrew Morton napisal:
> Looks pretty simple to me?
>
> --- linux-2.4.18-pre7/drivers/net/ppp_generic.c Thu Oct 11 09:18:31 2001
> +++ linux-akpm/drivers/net/ppp_generic.c Mon Jan 28 22:38:43 2002
> @@ -1528,6 +1528,7 @@ ppp_decompress_frame(struct ppp *ppp, st
> error indication. */
> if (len == DECOMP_FATALERROR)
> ppp->rstate |= SC_DC_FERROR;
> + kfree_skb(ns);
> goto err;
> }
>
> Marcin Prejsnar wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > [1.] SUMMARY
> > Error packets received on interface ppp cause free memory
> > decrease.
> >

        Yes !!! Helped !!! I testet this in 2.4.17. Now system works good.

So... that was bug in kernels at least from version 2.4.9 up to 2.4.18-pre7,
maybe before too (!!!).

-- 
__________________
| Pozdrawiam
| Marcin Prejsnar

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



This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:01:05 EST