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/netinet6/ip6_output.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet6/ip6_output.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.22 retrieving revision 1.23 diff -u -p -r1.22 -r1.23 --- src/sys/netinet6/ip6_output.c 2000/06/03 14:36:37 1.22 +++ src/sys/netinet6/ip6_output.c 2000/06/20 02:24:42 1.23 @@ -1,4 +1,4 @@ -/* $NetBSD: ip6_output.c,v 1.22 2000/06/03 14:36:37 itojun Exp $ */ +/* $NetBSD: ip6_output.c,v 1.23 2000/06/20 02:24:42 itojun Exp $ */ /* $KAME: ip6_output.c,v 1.109 2000/05/31 05:03:09 jinmei Exp $ */ /* @@ -206,7 +206,7 @@ ip6_output(m0, opt, ro, flags, im6o, ifp if (sp == NULL) { ipsec6stat.out_inval++; - goto bad; + goto freehdrs; } error = 0; @@ -218,7 +218,7 @@ ip6_output(m0, opt, ro, flags, im6o, ifp * This packet is just discarded. */ ipsec6stat.out_polvio++; - goto bad; + goto freehdrs; case IPSEC_POLICY_BYPASS: case IPSEC_POLICY_NONE: @@ -231,7 +231,7 @@ ip6_output(m0, opt, ro, flags, im6o, ifp /* XXX should be panic ? */ printf("ip6_output: No IPsec request specified.\n"); error = EINVAL; - goto bad; + goto freehdrs; } needipsec = 1; break;