Thread (13 messages) flat view 13 messages, 5 authors, 2007-03-27

Re: [PATCH 1/5 2.6.21-rc4] l2tp: pppol2tp core

From: Ingo Oeser <hidden>
Date: 2007-03-27 11:32:22

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help