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.134.2.2 retrieving revision 1.134.2.3 diff -u -p -r1.134.2.2 -r1.134.2.3 --- src/sys/netinet/udp_usrreq.c 2005/04/28 10:53:40 1.134.2.2 +++ src/sys/netinet/udp_usrreq.c 2005/05/01 11:03:37 1.134.2.3 @@ -1,4 +1,4 @@ -/* $NetBSD: udp_usrreq.c,v 1.134.2.2 2005/04/28 10:53:40 tron Exp $ */ +/* $NetBSD: udp_usrreq.c,v 1.134.2.3 2005/05/01 11:03:37 tron Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c,v 1.134.2.2 2005/04/28 10:53:40 tron Exp $"); +__KERNEL_RCSID(0, "$NetBSD: udp_usrreq.c,v 1.134.2.3 2005/05/01 11:03:37 tron Exp $"); #include "opt_inet.h" #include "opt_ipsec.h" @@ -1467,6 +1467,7 @@ udp4_espinudp(m, off, src, so) if ((tag = m_tag_get(PACKET_TAG_IPSEC_NAT_T_PORTS, sizeof(sport) + sizeof(dport), M_DONTWAIT)) == NULL) { printf("udp4_espinudp: m_tag_get failed\n"); + m_freem(n); return 0; } ((u_int16_t *)(tag + 1))[0] = sport;