svn commit: r312741 - stable/11/sys/dev/ntb/if_ntb
Alexander Motin
mav at FreeBSD.org
Wed Jan 25 07:51:21 UTC 2017
Author: mav
Date: Wed Jan 25 07:51:19 2017
New Revision: 312741
URL: https://svnweb.freebsd.org/changeset/base/312741
Log:
MFC r311935: Pretend we support some IOCTLs to not scary upper layers.
Modified:
stable/11/sys/dev/ntb/if_ntb/if_ntb.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/ntb/if_ntb/if_ntb.c
==============================================================================
--- stable/11/sys/dev/ntb/if_ntb/if_ntb.c Wed Jan 25 06:11:07 2017 (r312740)
+++ stable/11/sys/dev/ntb/if_ntb/if_ntb.c Wed Jan 25 07:51:19 2017 (r312741)
@@ -237,6 +237,11 @@ ntb_ioctl(if_t ifp, u_long command, cadd
int error = 0;
switch (command) {
+ case SIOCSIFFLAGS:
+ case SIOCADDMULTI:
+ case SIOCDELMULTI:
+ break;
+
case SIOCSIFMTU:
{
if (ifr->ifr_mtu > sc->mtu - ETHER_HDR_LEN) {
More information about the svn-src-stable
mailing list