Re: /proc/net/ip_conntrack problems

From: Taral (taral@taral.net)
Date: Mon Oct 29 2001 - 17:24:33 EST


On Mon, Oct 29, 2001 at 01:19:16PM -0800, Mike Fedyk wrote:
> Because you would need the buffer size to hit the moving target of any of
> the boundaries of the lines. So you would need (for the example above)
> buffer sizes of:
> 153
> 291
> 460
> 611
> 778
> 778
>
> 16k blocks would hold all of those...

Wrong again. /proc/net/ip_conntrack has code to support incrementally
reading the file. It's broken, I'm just not sure _how_ it's broken.

-- 
Taral <taral@taral.net>
This message is digitally signed. Please PGP encrypt mail to me.
"Any technology, no matter how primitive, is magic to those who don't
understand it." -- Florence Ambrose


- 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 : Wed Oct 31 2001 - 21:00:38 EST