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:
@@ -1722,7 +1722,6 @@ nfe_ioctl(if_t ifp, u_long cmd, caddr_t data)
|
|||||||
error = 0;
|
error = 0;
|
||||||
init = 0;
|
init = 0;
|
||||||
switch (cmd) {
|
switch (cmd) {
|
||||||
#ifndef __HAIKU__
|
|
||||||
case SIOCSIFMTU:
|
case SIOCSIFMTU:
|
||||||
if (ifr->ifr_mtu < ETHERMIN || ifr->ifr_mtu > NFE_JUMBO_MTU)
|
if (ifr->ifr_mtu < ETHERMIN || ifr->ifr_mtu > NFE_JUMBO_MTU)
|
||||||
error = EINVAL;
|
error = EINVAL;
|
||||||
@@ -1742,7 +1741,6 @@ nfe_ioctl(if_t ifp, u_long cmd, caddr_t data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
case SIOCSIFFLAGS:
|
case SIOCSIFFLAGS:
|
||||||
NFE_LOCK(sc);
|
NFE_LOCK(sc);
|
||||||
if (if_getflags(ifp) & IFF_UP) {
|
if (if_getflags(ifp) & IFF_UP) {
|
||||||
|
|||||||
Reference in New Issue
Block a user