Remove the splimp()/splx() calls around the setting of the MTU. They are

no-op's that I inadvertently added.  Even if locking is needed in general
for the ioctl's, setting a single long will not need it due to the operation
being atomic.

Reported by:	rwatson
This commit is contained in:
Sean Farley 2009-03-17 02:32:36 +00:00
parent 7214348f57
commit a5b1a8553c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189907

View file

@ -611,9 +611,7 @@ tapifioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
break;
case SIOCSIFMTU:
s = splimp();
ifp->if_mtu = ifr->ifr_mtu;
splx(s);
break;
case SIOCGIFSTATUS: