aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/xen/netfront
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2015-10-30 17:12:15 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2015-10-30 17:12:15 +0000
commitce8df48b73045cf979740f2904dabc99d6b4b24f (patch)
tree10a10350e6c6ec61aec924cd2f3c739eac7274f2 /sys/dev/xen/netfront
parent4d871c1e6142f6a59b7f7e7da26761f23fab1268 (diff)
downloadsrc-ce8df48b73045cf979740f2904dabc99d6b4b24f.tar.gz
src-ce8df48b73045cf979740f2904dabc99d6b4b24f.zip
Do not FALLTHROUGH for SIOC{ADD,DEL}MULTI
ifmedia_ioctl() returns EINVAL Differential Revision: 3897 Submitted by: aronen@juniper.net Reviewed by: marcel
Notes
Notes: svn path=/head/; revision=290201
Diffstat (limited to 'sys/dev/xen/netfront')
-rw-r--r--sys/dev/xen/netfront/netfront.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xen/netfront/netfront.c b/sys/dev/xen/netfront/netfront.c
index b1550cd8d066..dd1015d72d82 100644
--- a/sys/dev/xen/netfront/netfront.c
+++ b/sys/dev/xen/netfront/netfront.c
@@ -1663,7 +1663,7 @@ xn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
error = 0;
}
#endif
- /* FALLTHROUGH */
+ break;
case SIOCSIFMEDIA:
case SIOCGIFMEDIA:
error = ifmedia_ioctl(ifp, ifr, &sc->sc_media, cmd);