[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200703271332.09574.netdev@axxeo.de>
Date: Tue, 27 Mar 2007 13:32:09 +0200
From: Ingo Oeser <netdev@...eo.de>
To: James Chapman <jchapman@...alix.com>
Cc: Patrick McHardy <kaber@...sh.net>, netdev@...r.kernel.org
Subject: Re: [PATCH 1/5 2.6.21-rc4] l2tp: pppol2tp core
Hi James,
James Chapman schrieb:
> I thought seq_printf handled large output (multiple pages)? I am aware
> of the page size limitation of raw proc handlers.
No. It does detect the limitation, discards your output an lets you try again,
when the next invocation of *_show() has enough buffer space.
seq_puts() behaves the same. So you simply do this:
if (seq_puts(m, "text\n"))
goto no_space;
Regards
Ingo Oeser
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists