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/net/if_ethersubr.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/net/if_ethersubr.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.188.8.3.2.1 retrieving revision 1.188.8.3.2.2 diff -u -p -r1.188.8.3.2.1 -r1.188.8.3.2.2 --- src/sys/net/if_ethersubr.c 2014/06/18 09:34:27 1.188.8.3.2.1 +++ src/sys/net/if_ethersubr.c 2017/02/05 05:47:28 1.188.8.3.2.2 @@ -1,4 +1,4 @@ -/* $NetBSD: if_ethersubr.c,v 1.188.8.3.2.1 2014/06/18 09:34:27 msaitoh Exp $ */ +/* $NetBSD: if_ethersubr.c,v 1.188.8.3.2.2 2017/02/05 05:47:28 snj Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -61,7 +61,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.188.8.3.2.1 2014/06/18 09:34:27 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_ethersubr.c,v 1.188.8.3.2.2 2017/02/05 05:47:28 snj Exp $"); #include "opt_inet.h" #include "opt_atalk.h" @@ -307,6 +307,7 @@ ether_output(struct ifnet * const ifp0, if (tha == NULL) { /* fake with ARPHDR_IEEE1394 */ + m_freem(m); return 0; } memcpy(edst, tha, sizeof(edst));