Don't cast the command argument to ether_ioctl() to an int since its not an
int anymore. This was causing all sorts of bad behavior when booting a system with an nve interface present.
This commit is contained in:
parent
e682569165
commit
d9306f7610
@ -1040,7 +1040,7 @@ nve_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
/* Everything else we forward to generic ether ioctl */
|
/* Everything else we forward to generic ether ioctl */
|
||||||
error = ether_ioctl(ifp, (int)command, data);
|
error = ether_ioctl(ifp, command, data);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user