Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2015 10:07:46 +0000 (UTC)
From:      Oleg Bulyzhin <oleg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287856 - head/sys/net
Message-ID:  <201509161007.t8GA7kJ9018060@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: oleg
Date: Wed Sep 16 10:07:45 2015
New Revision: 287856
URL: https://svnweb.freebsd.org/changeset/base/287856

Log:
  Remove superfluous m_freem().
  
  MFC after:	1 month

Modified:
  head/sys/net/if_ethersubr.c

Modified: head/sys/net/if_ethersubr.c
==============================================================================
--- head/sys/net/if_ethersubr.c	Wed Sep 16 09:59:05 2015	(r287855)
+++ head/sys/net/if_ethersubr.c	Wed Sep 16 10:07:45 2015	(r287856)
@@ -499,7 +499,6 @@ ether_input_internal(struct ifnet *ifp, 
 			if_printf(ifp, "cannot pullup VLAN header\n");
 #endif
 			if_inc_counter(ifp, IFCOUNTER_IERRORS, 1);
-			m_freem(m);
 			CURVNET_RESTORE();
 			return;
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509161007.t8GA7kJ9018060>