Re: PROBLEM: Memory problem 2.4.9-2.4.17

Marcin Prejsnar (alex@pronet.pl)
Tue, 29 Jan 2002 19:36:50 +0100


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/