Module Name: src Committed By: rtr Date: Sun Aug 3 11:44:52 UTC 2014
Modified Files: src/sys/netinet: raw_ip.c Log Message: req cannot be PRU_SENDOOB here as per KASSERT() earlier in the rip_usrreq() function. - KASSERT(!control || (req == PRU_SEND || req == PRU_SENDOOB)); + KASSERT(!control || (req == PRU_SEND)); To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/netinet/raw_ip.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/netinet/raw_ip.c diff -u src/sys/netinet/raw_ip.c:1.140 src/sys/netinet/raw_ip.c:1.141 --- src/sys/netinet/raw_ip.c:1.140 Sat Aug 2 03:55:26 2014 +++ src/sys/netinet/raw_ip.c Sun Aug 3 11:44:52 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: raw_ip.c,v 1.140 2014/08/02 03:55:26 rtr Exp $ */ +/* $NetBSD: raw_ip.c,v 1.141 2014/08/03 11:44:52 rtr Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -65,7 +65,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1.140 2014/08/02 03:55:26 rtr Exp $"); +__KERNEL_RCSID(0, "$NetBSD: raw_ip.c,v 1.141 2014/08/03 11:44:52 rtr Exp $"); #include "opt_inet.h" #include "opt_compat_netbsd.h" @@ -770,7 +770,7 @@ rip_usrreq(struct socket *so, int req, s KASSERT(solocked(so)); inp = sotoinpcb(so); - KASSERT(!control || (req == PRU_SEND || req == PRU_SENDOOB)); + KASSERT(!control || (req == PRU_SEND)); if (inp == NULL) { splx(s); return EINVAL;