svn commit: r312742 - stable/10/sys/dev/ntb/if_ntb
Alexander Motin
mav at FreeBSD.org
Wed Jan 25 07:51:54 UTC 2017
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) {
More information about the svn-src-stable
mailing list