Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Memory leak in dvb_net
Holger Kiehl wrote:
> Using dvbnet to receive multiple multicast data streams, I and several
> others have observed that memory is slowly going away up to a point
> where the system just hangs up. This happens with all kernels from
> 2.4.x to the latest 2.6 kernel.
>
> Rafal Malek from Tellique has looked into this and has found that in
> linux each network device supports sending and receiving of data packets
> by default. But in the case of one-way satellite communication the
> device is not able to send data. This can be seen when monitoring
> /proc/slabinfo ip_dst_cache and some other values always go up.
>
> Applying the following patch solves this problem:
>
> --- drivers/media/dvb/dvb-core/dvb_net.c.orig 2004-12-01 16:11:03.000000000 +0100
> +++ drivers/media/dvb/dvb-core/dvb_net.c 2004-12-01 16:12:53.000000000 +0100
> @@ -661,6 +661,7 @@
>
> static int dvb_net_tx(struct sk_buff *skb, struct net_device *dev)
> {
> + dev_kfree_skb(skb);
> return 0;
> }
>
> Please consider applying this patch.
Applied to both HEAD and linux_2_4 branch.
Thanks a lot,
Johannes
Home |
Main Index |
Thread Index