Pretend we support some IOCTLs to not scary upper layers.

MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2017-01-11 20:23:45 +00:00
parent 400e78e45a
commit 47967ab741
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311935

View File

@ -237,6 +237,11 @@ ntb_ioctl(if_t ifp, u_long command, caddr_t data)
int error = 0;
switch (command) {
case SIOCSIFFLAGS:
case SIOCADDMULTI:
case SIOCDELMULTI:
break;
case SIOCSIFMTU:
{
if (ifr->ifr_mtu > sc->mtu - ETHER_HDR_LEN) {