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 retrieving revision 1.152 retrieving revision 1.153 diff -u -p -r1.152 -r1.153 --- src/sys/netinet/udp_usrreq.c 2006/11/10 12:59:59 1.152 +++ src/sys/netinet/udp_usrreq.c 2006/11/10 13:00:23 1.153 @@ -1,4 +1,4 @@ -/* $NetBSD: udp_usrreq.c,v 1.152 2006/11/10 12:59:59 yamt Exp $ */ +/* $NetBSD: udp_usrreq.c,v 1.153 2006/11/10 13:00:23 yamt Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c,v 1.152 2006/11/10 12:59:59 yamt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c,v 1.153 2006/11/10 13:00:23 yamt Exp $"); #include "opt_inet.h" #include "opt_ipsec.h" @@ -1031,7 +1031,6 @@ udp_ctloutput(int op, struct socket *so, default: error = EAFNOSUPPORT; goto end; - break; } @@ -1044,7 +1043,7 @@ udp_ctloutput(int op, struct socket *so, case UDP_ENCAP: if (m == NULL || m->m_len < sizeof (int)) { error = EINVAL; - goto end; + break; } switch(*mtod(m, int *)) { @@ -1065,21 +1064,18 @@ udp_ctloutput(int op, struct socket *so, #endif default: error = EINVAL; - goto end; break; } break; default: error = ENOPROTOOPT; - goto end; break; } break; default: error = EINVAL; - goto end; break; }