Module Name: src Committed By: rtr Date: Thu Aug 7 01:02:30 UTC 2014
Modified Files: src/sys/netatalk: ddp_usrreq.c Log Message: remove KASSERT(nam != NULL) from ddp_send() the following code makes the validity of it questionable. we'll investigate later whether it can be put back and the code simplified. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/netatalk/ddp_usrreq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netatalk/ddp_usrreq.c diff -u src/sys/netatalk/ddp_usrreq.c:1.59 src/sys/netatalk/ddp_usrreq.c:1.60 --- src/sys/netatalk/ddp_usrreq.c:1.59 Tue Aug 5 07:55:31 2014 +++ src/sys/netatalk/ddp_usrreq.c Thu Aug 7 01:02:30 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: ddp_usrreq.c,v 1.59 2014/08/05 07:55:31 rtr Exp $ */ +/* $NetBSD: ddp_usrreq.c,v 1.60 2014/08/07 01:02:30 rtr Exp $ */ /* * Copyright (c) 1990,1991 Regents of The University of Michigan. @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ddp_usrreq.c,v 1.59 2014/08/05 07:55:31 rtr Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ddp_usrreq.c,v 1.60 2014/08/07 01:02:30 rtr Exp $"); #include "opt_mbuftrace.h" @@ -545,7 +545,6 @@ ddp_send(struct socket *so, struct mbuf KASSERT(solocked(so)); KASSERT(ddp != NULL); - KASSERT(nam != NULL); if (nam) { if (ddp->ddp_fsat.sat_port != ATADDR_ANYPORT)