diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2005-01-02 15:19:24 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2005-01-02 15:19:24 +0000 |
| commit | 360fb9f83ad2d441e7772f28e7b9fa0bcbd22460 (patch) | |
| tree | 45da5300a0535197ab5284b02af5bc427bd1b9d1 /sys/netipx/ipx_usrreq.c | |
| parent | 43ae56438eb79e7fc55c5be847999a6556f041f9 (diff) | |
Notes
Diffstat (limited to 'sys/netipx/ipx_usrreq.c')
| -rw-r--r-- | sys/netipx/ipx_usrreq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netipx/ipx_usrreq.c b/sys/netipx/ipx_usrreq.c index 47acdb17e7fdf..db0aadd625b4e 100644 --- a/sys/netipx/ipx_usrreq.c +++ b/sys/netipx/ipx_usrreq.c @@ -128,8 +128,7 @@ ipx_input(m, ipxp) struct ifnet *ifp = m->m_pkthdr.rcvif; struct sockaddr_ipx ipx_ipx; - if (ipxp == NULL) - panic("No ipxpcb"); + KASSERT(ipxp != NULL, ("ipx_input: NUL ipxpcb")); /* * Construct sockaddr format source address. * Stuff source address and datagram in user buffer. |
