diff options
author | yongari <yongari@FreeBSD.org> | 2004-08-09 03:13:57 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2004-08-09 03:13:57 +0000 |
commit | 2b707fbd8fb9f2858a26eea1d2962ad18c405966 (patch) | |
tree | c6d723e3cdd89b4887f0502ec0743f3cab225991 /sys/vm/vm_fault.c | |
parent | 2f658d62e3282352e7af9201055c13e8ce625da6 (diff) | |
download | FreeBSD-src-2b707fbd8fb9f2858a26eea1d2962ad18c405966.zip FreeBSD-src-2b707fbd8fb9f2858a26eea1d2962ad18c405966.tar.gz |
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
Diffstat (limited to 'sys/vm/vm_fault.c')
0 files changed, 0 insertions, 0 deletions