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;
                }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to