summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rarpd/rarpd.c
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2011-12-07 21:54:44 +0000
committeryongari <yongari@FreeBSD.org>2011-12-07 21:54:44 +0000
commitbe6c75b27877d84363fbd24bd805ecb00d1253fe (patch)
tree9beb638e302ed21ee5a1ba193488748ea02975dd /usr.sbin/rarpd/rarpd.c
parentc557fccc885517cacf953a1d5df3392a97b66285 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud