Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2009 03:03:44 +0000 (UTC)
From:      Sean Farley <scf@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/net if_tap.c
Message-ID:  <200903230303.n2N33xLF007585@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903230303.n2N33xLF007585>