svn commit: r249812 - head/sys/dev/bwn

Eitan Adler eadler at FreeBSD.org
Tue Apr 23 16:33:25 UTC 2013


Author: eadler
Date: Tue Apr 23 16:33:25 2013
New Revision: 249812
URL: http://svnweb.freebsd.org/changeset/base/249812

Log:
  Revert r249800 as
  	 - it is incorrect:  In the 'back' case you want to reuse the previous
  	 mbuf.
  	- it was not reviewed by wireless@
  
  Requested by:	jhb, adrian

Modified:
  head/sys/dev/bwn/if_bwn.c

Modified: head/sys/dev/bwn/if_bwn.c
==============================================================================
--- head/sys/dev/bwn/if_bwn.c	Tue Apr 23 16:08:24 2013	(r249811)
+++ head/sys/dev/bwn/if_bwn.c	Tue Apr 23 16:33:25 2013	(r249812)
@@ -9183,7 +9183,6 @@ bwn_dma_newbuf(struct bwn_dma_ring *dr, 
 	struct mbuf *m;
 	int error;
 
-	paddr = 0;
 	m = m_getcl(M_NOWAIT, MT_DATA, M_PKTHDR);
 	if (m == NULL) {
 		error = ENOBUFS;


More information about the svn-src-all mailing list