From owner-freebsd-net@FreeBSD.ORG Wed Feb 1 19:08:07 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1DF7106564A for ; Wed, 1 Feb 2012 19:08:07 +0000 (UTC) (envelope-from rozhuk.im@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 70ACB8FC17 for ; Wed, 1 Feb 2012 19:08:07 +0000 (UTC) Received: by bkbzx1 with SMTP id zx1so1860542bkb.13 for ; Wed, 01 Feb 2012 11:08:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=reply-to:from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:content-language:thread-index; bh=2q5+SQyVRVwbxpEtPD4R3ZvNrV2JjsuMrthIXf7oaSg=; b=YJQPFG6PO5DvfqaerY5HOF63xpUbN6Tb2x9zuLM2P3PU2V/okMgvUXnKJa95gjoNxc EyjSUAS9JdyccvEWALtsXSc9EhACEx7BiLiZGi5vmlri8cVXDKrqcfwQb9rnrcT8xlh0 86/GscU1oj3o3BURL49BfFrIA4rS5kykcOMRc= Received: by 10.204.154.86 with SMTP id n22mr12921497bkw.85.1328123286293; Wed, 01 Feb 2012 11:08:06 -0800 (PST) Received: from rimwks1w7x64 ([31.47.167.64]) by mx.google.com with ESMTPS id cg2sm57128104bkb.12.2012.02.01.11.08.04 (version=SSLv3 cipher=OTHER); Wed, 01 Feb 2012 11:08:05 -0800 (PST) From: rozhuk.im@gmail.com To: Date: Thu, 2 Feb 2012 04:07:59 +0900 Message-ID: <4f298d95.82b7cc0a.49b2.5d24@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: ru thread-index: AczhFNASZ92ND36BSlmguxtx4FjCnA== Subject: m_pullup - fail X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rozhuk.IM@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2012 19:08:08 -0000 Hello! The function always returns an error and remove the chain MBUF for two or more generated on the same host. If the pre-call m_defrag no error occurs. This is normal behavior? How to know in advance the maximum size for MBUF that does not cause a failure in m_pullup? mbuf: 0xfffffe0074fc0600 len: 42, next: 0xfffffe0073a45800, 2 mbuf: 0xfffffe0073a45800 len: 210, next: 0, 1 FAIL: m_pullup: m_pkthdr.len = 252, m_len = 42, pullup_len = 252