Author: sjg
Date: Fri Oct 30 17:12:15 2015
New Revision: 290201
URL: https://svnweb.freebsd.org/changeset/base/290201

Log:
  Do not FALLTHROUGH for SIOC{ADD,DEL}MULTI
  
  ifmedia_ioctl() returns EINVAL
  
  Differential Revision:        3897
  Submitted by: [email protected]
  Reviewed by:  marcel

Modified:
  head/sys/dev/xen/netfront/netfront.c

Modified: head/sys/dev/xen/netfront/netfront.c
==============================================================================
--- head/sys/dev/xen/netfront/netfront.c        Fri Oct 30 17:05:52 2015        
(r290200)
+++ head/sys/dev/xen/netfront/netfront.c        Fri Oct 30 17:12:15 2015        
(r290201)
@@ -1663,7 +1663,7 @@ xn_ioctl(struct ifnet *ifp, u_long cmd, 
                        error = 0;
                }
 #endif
-               /* FALLTHROUGH */
+               break;
        case SIOCSIFMEDIA:
        case SIOCGIFMEDIA:
                error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to