From: Ingo Oeser <netdev@axxeo.de>
To: James Chapman <jchapman@katalix.com>
Cc: Patrick McHardy <kaber@trash.net>, netdev@vger.kernel.org
Subject: Re: [PATCH 1/5 2.6.21-rc4] l2tp: pppol2tp core
Date: Tue, 27 Mar 2007 13:32:09 +0200 [thread overview]
Message-ID: <200703271332.09574.netdev@axxeo.de> (raw)
In-Reply-To: <46069F60.3020501@katalix.com>
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
prev parent reply other threads:[~2007-03-27 11:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-23 23:07 [PATCH 1/5 2.6.21-rc4] l2tp: pppol2tp core James Chapman
2007-03-24 0:22 ` Florian Zumbiehl
2007-03-24 17:37 ` James Chapman
2007-03-24 18:07 ` Florian Zumbiehl
2007-03-24 14:03 ` Patrick McHardy
2007-03-24 19:01 ` James Chapman
2007-03-24 19:26 ` David Miller
2007-03-24 20:56 ` Patrick McHardy
2007-03-25 16:00 ` James Chapman
2007-03-27 14:37 ` Patrick McHardy
2007-03-24 21:58 ` Patrick McHardy
2007-03-25 16:12 ` James Chapman
2007-03-27 11:32 ` Ingo Oeser [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200703271332.09574.netdev@axxeo.de \
--to=netdev@axxeo.de \
--cc=jchapman@katalix.com \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.