summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorrtr <rtr@NetBSD.org>2014-08-03 11:44:52 +0000
committerrtr <rtr@NetBSD.org>2014-08-03 11:44:52 +0000
commitbde855ffa8e2e2ca4a89e728dfd03b7a000c4329 (patch)
treeb3fa42f854cf3489f7ab35b5771a326424958346 /sys/netinet
parent0f7a1a7bba2b4b01d35953af799ce3cced83fa3e (diff)
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));
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/raw_ip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index cbb273c3e8a..17f842570f7 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -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, struct mbuf *m, struct mbuf *nam,
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;