summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/xen/netback/netback.c1
-rw-r--r--sys/dev/xen/netfront/netfront.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/xen/netback/netback.c b/sys/dev/xen/netback/netback.c
index a749f90..794940c 100644
--- a/sys/dev/xen/netback/netback.c
+++ b/sys/dev/xen/netback/netback.c
@@ -2251,7 +2251,6 @@ xnb_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
mtx_unlock(&xnb->sc_lock);
break;
case SIOCSIFADDR:
- case SIOCGIFADDR:
#ifdef INET
mtx_lock(&xnb->sc_lock);
if (ifa->ifa_addr->sa_family == AF_INET) {
diff --git a/sys/dev/xen/netfront/netfront.c b/sys/dev/xen/netfront/netfront.c
index 440c189..8f401ac 100644
--- a/sys/dev/xen/netfront/netfront.c
+++ b/sys/dev/xen/netfront/netfront.c
@@ -1741,7 +1741,6 @@ xn_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
int mask, error = 0;
switch(cmd) {
case SIOCSIFADDR:
- case SIOCGIFADDR:
#ifdef INET
XN_LOCK(sc);
if (ifa->ifa_addr->sa_family == AF_INET) {
OpenPOWER on IntegriCloud