svn commit: r326432 - head/sys/net
Stephen Hurd
shurd at FreeBSD.org
Fri Dec 1 17:58:21 UTC 2017
Author: shurd
Date: Fri Dec 1 17:58:20 2017
New Revision: 326432
URL: https://svnweb.freebsd.org/changeset/base/326432
Log:
Add support for SIOCGIFXMEDIA to iflib
SIOCGIFXMEDIA is required for extended ethernet media types,
but iflib did not support it.
Reported by: Bhargava Chenna Marreddy <bhargava.marreddy at broadcom.com>
Sponsored by: Limelight Networks
Differential Revision: https://reviews.freebsd.org/D13312
Modified:
head/sys/net/iflib.c
Modified: head/sys/net/iflib.c
==============================================================================
--- head/sys/net/iflib.c Fri Dec 1 17:15:13 2017 (r326431)
+++ head/sys/net/iflib.c Fri Dec 1 17:58:20 2017 (r326432)
@@ -3912,6 +3912,7 @@ iflib_if_ioctl(if_t ifp, u_long command, caddr_t data)
CTX_UNLOCK(ctx);
/* falls thru */
case SIOCGIFMEDIA:
+ case SIOCGIFXMEDIA:
err = ifmedia_ioctl(ifp, ifr, &ctx->ifc_media, command);
break;
case SIOCGI2C:
More information about the svn-src-all
mailing list