diff options
author | yongari <yongari@FreeBSD.org> | 2011-12-07 21:54:44 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2011-12-07 21:54:44 +0000 |
commit | be6c75b27877d84363fbd24bd805ecb00d1253fe (patch) | |
tree | 9beb638e302ed21ee5a1ba193488748ea02975dd /usr.sbin/rarpd/rarpd.c | |
parent | c557fccc885517cacf953a1d5df3392a97b66285 (diff) | |
download | FreeBSD-src-be6c75b27877d84363fbd24bd805ecb00d1253fe.zip FreeBSD-src-be6c75b27877d84363fbd24bd805ecb00d1253fe.tar.gz |
Protect SIOCSIFMTU ioctl handler with driver lock.
Don't blindly re-initialize controller whenever MTU is changed.
Now, reinitializing is done only when driver is running.
While here, remove unnecessary assignment of error value since it
was already initialized to 0.
Diffstat (limited to 'usr.sbin/rarpd/rarpd.c')
0 files changed, 0 insertions, 0 deletions