Date: Wed, 25 Jan 2017 07:51:53 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r312742 - stable/10/sys/dev/ntb/if_ntb Message-ID: <201701250751.v0P7prei083882@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Wed Jan 25 07:51:53 2017 New Revision: 312742 URL: https://svnweb.freebsd.org/changeset/base/312742 Log: MFC r311935: Pretend we support some IOCTLs to not scary upper layers. Modified: stable/10/sys/dev/ntb/if_ntb/if_ntb.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/ntb/if_ntb/if_ntb.c ============================================================================== --- stable/10/sys/dev/ntb/if_ntb/if_ntb.c Wed Jan 25 07:51:19 2017 (r312741) +++ stable/10/sys/dev/ntb/if_ntb/if_ntb.c Wed Jan 25 07:51:53 2017 (r312742) @@ -237,6 +237,11 @@ ntb_ioctl(struct ifnet *ifp, u_long comm int error = 0; switch (command) { + case SIOCSIFFLAGS: + case SIOCADDMULTI: + case SIOCDELMULTI: + break; + case SIOCSIFMTU: { if (ifr->ifr_mtu > sc->mtu - ETHER_HDR_LEN) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701250751.v0P7prei083882>