From owner-cvs-all@FreeBSD.ORG Fri Sep 15 16:06:28 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B421616A412; Fri, 15 Sep 2006 16:06:28 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49C2043D49; Fri, 15 Sep 2006 16:06:28 +0000 (GMT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k8FG6Smm007197; Fri, 15 Sep 2006 16:06:28 GMT (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k8FG6SpN007196; Fri, 15 Sep 2006 16:06:28 GMT (envelope-from ru) Message-Id: <200609151606.k8FG6SpN007196@repoman.freebsd.org> From: Ruslan Ermilov Date: Fri, 15 Sep 2006 16:06:27 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/netgraph ng_fec.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Sep 2006 16:06:28 -0000 ru 2006-09-15 16:06:27 UTC FreeBSD src repository Modified files: sys/netgraph ng_fec.c Log: Make it possible to set a larger MTU by attempting to set MTUs on all trunk ports first. If that succeeds, and we're inside our own bounds, so be it. Still not ideal -- adding a port after changing an MTU doesn't change port's MTU, but a step in the right direction. PR: kern/95417 Submitted by: Vladimir Ivanov MFC after: 3 days I've slightly edited a patch to make the conditional logic positive and remove (what I think was) a redundant ng_fec_init() call. Revision Changes Path 1.28 +19 -1 src/sys/netgraph/ng_fec.c