From owner-cvs-src-old@FreeBSD.ORG Mon Mar 23 03:03:59 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 734FA1065740 for ; Mon, 23 Mar 2009 03:03:59 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 603E08FC13 for ; Mon, 23 Mar 2009 03:03:59 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n2N33xXB007586 for ; Mon, 23 Mar 2009 03:03:59 GMT (envelope-from scf@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n2N33xLF007585 for cvs-src-old@freebsd.org; Mon, 23 Mar 2009 03:03:59 GMT (envelope-from scf@repoman.freebsd.org) Message-Id: <200903230303.n2N33xLF007585@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to scf@repoman.freebsd.org using -f From: Sean Farley Date: Mon, 23 Mar 2009 03:03:44 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/net if_tap.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 03:03:59 -0000 scf 2009-03-23 03:03:44 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/net if_tap.c Log: SVN rev 190307 on 2009-03-23 03:03:44Z by scf Merge r189866 from head to stable/7: Add the SIOCSIFMTU ioctl handling directly to tap(4) permitting it to have its MTU set higher than 1500 (ETHERMTU). Its new limit is now 65535 as enforced by ifhwioctl() in if.c This allows a tap(4) device to be added to a bridge, which requires all interface members to have the same MTU, with an interface configured for jumbo frames. QEMU may now connect to a network via tap(4) without requiring the real interface to have its MTU set to 1500 or lower. Reviewed by: rpaulo, bms Merge r189907 from head to stable/7: Remove the splimp()/splx() calls around the setting of the MTU. They are no-op's that I inadvertently added. Even if locking is needed in general for the ioctl's, setting a single long will not need it due to the operation being atomic. Reported by: rwatson Revision Changes Path 1.71.2.3 +5 -0 src/sys/net/if_tap.c