Revert "nforce: Disable MTU changes."

This reverts commit 25742b78fb.

It was confirmed the MTU change introduction was unrelated to the
problems seen in this ticket.
This commit is contained in:
Augustin Cavalier
2022-06-10 13:43:30 -04:00
parent 30763b1e79
commit 10f4c2bd71
@@ -1722,7 +1722,6 @@ nfe_ioctl(if_t ifp, u_long cmd, caddr_t data)
error = 0;
init = 0;
switch (cmd) {
#ifndef __HAIKU__
case SIOCSIFMTU:
if (ifr->ifr_mtu < ETHERMIN || ifr->ifr_mtu > NFE_JUMBO_MTU)
error = EINVAL;
@@ -1742,7 +1741,6 @@ nfe_ioctl(if_t ifp, u_long cmd, caddr_t data)
}
}
break;
#endif
case SIOCSIFFLAGS:
NFE_LOCK(sc);
if (if_getflags(ifp) & IFF_UP) {