Remove now bogus assertion.
This commit is contained in:
parent
a1988014f6
commit
e8acac827e
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: uipc_syscalls_43.c,v 1.42 2008/04/24 11:38:36 ad Exp $ */
|
/* $NetBSD: uipc_syscalls_43.c,v 1.43 2008/04/29 19:02:14 ad Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1982, 1986, 1989, 1990, 1993
|
* Copyright (c) 1982, 1986, 1989, 1990, 1993
|
||||||
@ -32,7 +32,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls_43.c,v 1.42 2008/04/24 11:38:36 ad Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: uipc_syscalls_43.c,v 1.43 2008/04/29 19:02:14 ad Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -492,8 +492,6 @@ compat_ifioctl(struct socket *so, u_long ocmd, u_long cmd, void *data,
|
|||||||
struct ifnet *ifp = ifunit(ifr->ifr_name);
|
struct ifnet *ifp = ifunit(ifr->ifr_name);
|
||||||
struct sockaddr *sa;
|
struct sockaddr *sa;
|
||||||
|
|
||||||
KASSERT(solocked(so));
|
|
||||||
|
|
||||||
if (ifp == NULL)
|
if (ifp == NULL)
|
||||||
return ENXIO;
|
return ENXIO;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user