From owner-freebsd-net@FreeBSD.ORG Tue Apr 20 17:18:10 2010 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 531D5106566B for ; Tue, 20 Apr 2010 17:18:10 +0000 (UTC) (envelope-from luigi@onelab2.iet.unipi.it) Received: from onelab2.iet.unipi.it (onelab2.iet.unipi.it [131.114.59.238]) by mx1.freebsd.org (Postfix) with ESMTP id 1C19C8FC18 for ; Tue, 20 Apr 2010 17:18:09 +0000 (UTC) Received: by onelab2.iet.unipi.it (Postfix, from userid 275) id 7AD6673098; Tue, 20 Apr 2010 19:28:45 +0200 (CEST) Date: Tue, 20 Apr 2010 19:28:45 +0200 From: Luigi Rizzo To: net@freebsd.org Message-ID: <20100420172845.GA71187@onelab2.iet.unipi.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: max_linkhdr defaults to 16, too short ? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Apr 2010 17:18:10 -0000 just noticed that sys/kern/uipc_domain.c still sets max_linkhdr=16 as a default. The value is often used to reserve head space in mbufs for the MAC header. As such, 16 is too short for systems that make use of vlans, and the effect might be that we would need additional mbuf entries or at least move stuff down as the vlan tag is added. Any objection to bumping the default to 20 ? cheers luigi