Date: Wed, 10 Apr 2002 09:27:42 -0700 From: Maksim Yevmenkin <myevmenk@digisle.net> To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Bug in m_split() ? Message-ID: <3CB467FE.AA01487C@digisle.net> References: <20020410162321.BB56F47C3A@riffraff.plig.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
System Administrator wrote:
>
> Your message
>
> To: freebsd-hackers@freebsd.net; freebsd-current@freebsd.net
> Subject: Bug in m_split() ?
> Sent: Wed, 10 Apr 2002 09:23:16 -0700
>
> did not reach the following recipient(s):
>
> freebsd-current@freebsd.net on Wed, 10 Apr 2002 09:23:21 -0700
> The e-mail system was unable to deliver the message, but did not
> report a specific reason. Check the address and try again. If it still
> fails, contact your system administrator.
> < riffraff.plig.net #5.0.0 X-Postfix; unknown user:
> "freebsd-current">
> freebsd-hackers@freebsd.net on Wed, 10 Apr 2002 09:23:21 -0700
> The e-mail system was unable to deliver the message, but did not
> report a specific reason. Check the address and try again. If it still
> fails, contact your system administrator.
> < riffraff.plig.net #5.0.0 X-Postfix; unknown user:
> "freebsd-hackers">
>
> ------------------------------------------------------------------------
> Reporting-MTA: dns; ex-sj-5.digisle.com
>
> Final-Recipient: RFC822; freebsd-current@freebsd.net
> Action: failed
> Status: 5.0.0
> X-Supplementary-Info: < riffraff.plig.net #5.0.0 X-Postfix; unknown user: "freebsd-current">
> X-Display-Name: freebsd-current@freebsd.net
>
> Final-Recipient: RFC822; freebsd-hackers@freebsd.net
> Action: failed
> Status: 5.0.0
> X-Supplementary-Info: < riffraff.plig.net #5.0.0 X-Postfix; unknown user: "freebsd-hackers">
> X-Display-Name: freebsd-hackers@freebsd.net
Hackers,
i'm sorry for the wide distribution, but can anyone, please,
review the following patch to m_split() or at least comment
on it. i have attached another example that shows my problem.
--- uipc_mbuf.c.orig Mon Apr 8 14:40:23 2002
+++ uipc_mbuf.c Mon Apr 8 14:40:43 2002
@@ -584,6 +584,7 @@
if (remain > MHLEN) {
/* m can't be the lead packet */
MH_ALIGN(n, 0);
+ n->m_len = 0;
n->m_next = m_split(m, len, wait);
if (n->m_next == NULL) {
(void) m_free(n);
thanks,
max
[-- Attachment #2 --]
e<