From: Marcus Sundberg <marcus@ingate.com>
To: netfilter-devel@lists.netfilter.org
Subject: [PATCH] nfsim: Increase maximum argv size for tcpsession DATA
Date: Tue, 13 Dec 2005 17:12:00 +0100 [thread overview]
Message-ID: <439EF2D0.4000606@ingate.com> (raw)
Hi,
this patch increases the argv buffer in the tcp_send() function.
I ran in to this limit when constructing RTSP packets, and I see no
reason not to make it "large enough for everyone" while at it.
Signed-off-by: Marcus Sundberg <marcus@ingate.com>
--- nfsim/tools/tcpsession.c (revision 6316)
+++ nfsim/tools/tcpsession.c (working copy)
@@ -124,7 +124,7 @@
int datanum, char *data[])
{
char *ctx = talloc(NULL, char);
- char *argv[20];
+ char *argv[1024];
int argc;
argc = 0;
--
---------------------------------------+--------------------------
Marcus Sundberg <marcus@ingate.com> | Firewalls with SIP & NAT
Software Developer, Ingate Systems AB | http://www.ingate.com/
next reply other threads:[~2005-12-13 16:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-13 16:12 Marcus Sundberg [this message]
2006-01-06 14:41 ` [PATCH] nfsim: Increase maximum argv size for tcpsession DATA Harald Welte
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=439EF2D0.4000606@ingate.com \
--to=marcus@ingate.com \
--cc=netfilter-devel@lists.netfilter.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.