Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/udp_usrreq.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet/udp_usrreq.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.162 retrieving revision 1.162.6.1 diff -u -p -r1.162 -r1.162.6.1 --- src/sys/netinet/udp_usrreq.c 2007/09/02 07:18:55 1.162 +++ src/sys/netinet/udp_usrreq.c 2007/12/08 18:21:14 1.162.6.1 @@ -1,4 +1,4 @@ -/* $NetBSD: udp_usrreq.c,v 1.162 2007/09/02 07:18:55 dyoung Exp $ */ +/* $NetBSD: udp_usrreq.c,v 1.162.6.1 2007/12/08 18:21:14 mjf Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c,v 1.162 2007/09/02 07:18:55 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c,v 1.162.6.1 2007/12/08 18:21:14 mjf Exp $"); #include "opt_inet.h" #include "opt_ipsec.h" @@ -1029,7 +1029,7 @@ udp_ctloutput(int op, struct socket *so, switch (optname) { case UDP_ENCAP: - if (m == NULL || m->m_len < sizeof (int)) { + if (m == NULL || m->m_len != sizeof(int)) { error = EINVAL; break; }