svn commit: r194221 - user/kmacy/releng_7_2_fcs/sys/net

Kip Macy kmacy at FreeBSD.org
Sun Jun 14 23:27:59 UTC 2009


Author: kmacy
Date: Sun Jun 14 23:27:58 2009
New Revision: 194221
URL: http://svn.freebsd.org/changeset/base/194221

Log:
  use local variable

Modified:
  user/kmacy/releng_7_2_fcs/sys/net/if_var.h

Modified: user/kmacy/releng_7_2_fcs/sys/net/if_var.h
==============================================================================
--- user/kmacy/releng_7_2_fcs/sys/net/if_var.h	Sun Jun 14 23:27:09 2009	(r194220)
+++ user/kmacy/releng_7_2_fcs/sys/net/if_var.h	Sun Jun 14 23:27:58 2009	(r194221)
@@ -579,7 +579,7 @@ drbr_enqueue(struct ifnet *ifp, struct b
 		return (error);
 	}
 #endif
-	if ((error = buf_ring_enqueue(br, m, m->m_pkthdr.len)) == ENOBUFS) {
+	if ((error = buf_ring_enqueue(br, m, len)) == ENOBUFS) {
 		br->br_drops++;
 		m_freem(m);
 	} else


More information about the svn-src-user mailing list