diff options
author | yongari <yongari@FreeBSD.org> | 2011-10-17 19:49:00 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2011-10-17 19:49:00 +0000 |
commit | 4c371e596be040085df1b5f9e469ab9fd8278c89 (patch) | |
tree | d177532a5533584316ef20ec33ef25a4e8e17cac /bin/hostname | |
parent | 56e15a778cfacd77cc855073167c952c91381994 (diff) | |
download | FreeBSD-src-4c371e596be040085df1b5f9e469ab9fd8278c89.zip FreeBSD-src-4c371e596be040085df1b5f9e469ab9fd8278c89.tar.gz |
Close a race where SIOCGIFMEDIA ioctl get inconsistent link status.
Because driver is accessing a common MII structure in
mii_pollstat(), updating user supplied structure should be done
before dropping a driver lock.
Reported by: Karim (fodillemlinkarimi <> gmail dot com)
Diffstat (limited to 'bin/hostname')
0 files changed, 0 insertions, 0 deletions