Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2004 03:13:57 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/ifconfig ifconfig.c
Message-ID:  <200408090313.i793DvoI040382@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2004-08-09 03:13:57 UTC

  FreeBSD src repository

  Modified files:
    sbin/ifconfig        ifconfig.c 
  Log:
  Fix long standing mediaopt setting bugs seen on sparc64. Though
  the bug exists in little-endian machine, it was not triggered due
  to the difference of memory ordering between little/big endian
  machines. Instead of relying on possibly modified value during
  function invokcations, use saved copy of ifr.ifr_addr.sa_family.
  Also add a comment at the top of ifconfig.c clarifying the issue
  so the bug won't re-appear.
  
  Approved by:    jake
  Reviewed by:    yar
  
  Revision  Changes    Path
  1.106     +12 -6     src/sbin/ifconfig/ifconfig.c



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