From owner-freebsd-current Wed Apr 10 9:27:54 2002 Delivered-To: freebsd-current@freebsd.org Received: from owa1.digisle.com (ex-owa-sj.digisle.com [165.193.27.217]) by hub.freebsd.org (Postfix) with ESMTP id E5F0C37B417; Wed, 10 Apr 2002 09:27:42 -0700 (PDT) Received: from digisle.net ([206.220.227.145] RDNS failed) by owa1.digisle.com over TLS secured channel with Microsoft SMTPSVC(5.0.2195.2966); Wed, 10 Apr 2002 09:27:42 -0700 Message-ID: <3CB467FE.AA01487C@digisle.net> Date: Wed, 10 Apr 2002 09:27:42 -0700 From: Maksim Yevmenkin Organization: Digital Island X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Bug in m_split() ? References: <20020410162321.BB56F47C3A@riffraff.plig.net> Content-Type: multipart/mixed; boundary="------------3170EF2BBB3CF62E77CD349A" X-OriginalArrivalTime: 10 Apr 2002 16:27:42.0555 (UTC) FILETIME=[A38602B0:01C1E0AC] Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------3170EF2BBB3CF62E77CD349A Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------3170EF2BBB3CF62E77CD349A Content-Type: application/x-gzip; name="ng_cow.c.gz" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="ng_cow.c.gz" H4sICOJltDwAA25nX2Nvdy5jALVYbW/bNhD+TP0KJkFXOVUTZ+2Hol4CuLGSeI0lI3FabF0h KBIdCdaLIdHxvCD/fXckJVF+SfehM9BKPB7Jh3cPH55yEGdBsggZ/a1clcdzv/DTo+jMOGiZ 4R/fYmZFkeWb5hkrMpZs2lM/SfJgi/1+MW1bM8YfCn8eHWcPXsrK0n9guxzUy+7xsKVSjDYO QjaNM0adS+/c/eo57sD2Jn+MbbIf5Mv9qps4lyPRf+66n4c2ISfdkw/vuu/edbsbLiPXhX7D OD6ko/71tXtO1RKHx4BmCg1c7NYe92/6E9uTPoZ8eAP7YujY5shz7MnlTX98hVNaVICBh6P2 QMt5xIo48BOKPZ2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L2docONmDiqUyOQ6/+HsIkbRi12hQs3F0+cZ9uXbFx+tGp3bUHtVlNrDnIgBpa11fVM50Ue wO2NWrN19cpxF1Hah6s6WJvHahfGGohCOJZ4AALIB6JStUW5HZ6sRhRZYs5SSZl1oAS7oIWP 3mYAm6ILVnsghzBlg1zJpa6IGEnGfRBFvfJxLofepT3xRreXpoQC83SUf7UvfUAlrOD29ixi cGCLIxTLAHDFrFHadumJKrNtJBQqUvBaY6A6xQG6mqoSw+z02oKrqVgjY4LIL8jiNumrx+iy B0S5uLFtEZ0qLi9JocxsRYsbFrD4kck6Dk6KX9dpWzmBbqbUDszE+plp0+GpATec2CORu84L lFXzV9DOsRCTRRYWYhomvFqN7eWamQE78MZraVavpiI6Ag+7Oj2VbZ2ZCcswlnj1pV16Knvx LpX4sQ+rCBP8kL+wLjxgZnjuqamk6e1ZCoL4N8ex6PxG2bQF0LyHo9E+n/EoLI7AhiPmBcCZ mvtQ99BXpYwHdD1wOCRxmfrA149UYngFJQoMrhp/ZfjhBB96FvZbm7OvyWg7klUagOi7SqNc 1tEQyuoDftCf9L3b4Z82eX/S/I2Bnl/dOZ+l/eTXD8ZGNlToLapnATMIaUBKfKvn/b5dOFKW loyb4ruEvu6+tgRl8qmwYIVORqAgV4MbSKVFR97AdSZf+8MJvE88nBxddmUarh3H/XR3cVtp znk+X8kTA1ByRVHuF1zUmZy+eU/vV1xKK1mPOq3SLN/fw8IpxHO+uveDmYBXd7d3oepOheF2 nkCdUrASREIiEFiCaJHNSiq/o7IZ1gQZfYx9KikIMASoZRRDOYO7VVSVCoeR1SE2qIWQVUw9 0xKqakFBdK9EUGIPjYMebqmMIs51mOX4RuRkqIVjI41CG1Htdnylmftpd1+c/N5LPugiAtio pqnGCBKm4q2hYEtflafW/qHWwhERx+hfeCeUyZkUAAA= --------------3170EF2BBB3CF62E77CD349A-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message