mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
7214348f57
commit
a5b1a8553c
1 changed files with 0 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue