svn commit: r287856 - head/sys/net

Oleg Bulyzhin oleg at FreeBSD.org
Wed Sep 16 10:07:46 UTC 2015


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;
 		}


More information about the svn-src-head mailing list