Revert r290403
CARP rework invalidated this change.
This commit is contained in:
parent
7c4676ddee
commit
9925ac11da
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290806
@ -1773,13 +1773,6 @@ carp_ioctl(struct ifreq *ifr, u_long cmd, struct thread *td)
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SIOCSIFMTU:
|
||||
if (ifr->ifr_mtu > ETHERMTU_JUMBO) {
|
||||
error = EINVAL;
|
||||
} else {
|
||||
ifp->if_mtu = ifr->ifr_mtu;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
error = EINVAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user