svn commit: r205197 - head/sys/net

Max Laier mlaier at FreeBSD.org
Mon Mar 15 21:15:03 UTC 2010


Author: mlaier
Date: Mon Mar 15 21:15:03 2010
New Revision: 205197
URL: http://svn.freebsd.org/changeset/base/205197

Log:
  Fix a small bug in drbr_dequeue_cond spotted while preparing MFC of r203834.
  
  MFC after:	3 days

Modified:
  head/sys/net/if_var.h

Modified: head/sys/net/if_var.h
==============================================================================
--- head/sys/net/if_var.h	Mon Mar 15 20:25:28 2010	(r205196)
+++ head/sys/net/if_var.h	Mon Mar 15 21:15:03 2010	(r205197)
@@ -645,7 +645,7 @@ drbr_dequeue_cond(struct ifnet *ifp, str
 			IFQ_UNLOCK(&ifp->if_snd);
 			return (NULL);
 		}
-		IFQ_DEQUEUE(&ifp->if_snd, m);
+		IFQ_DEQUEUE_NOLOCK(&ifp->if_snd, m);
 		IFQ_UNLOCK(&ifp->if_snd);
 		return (m);
 	}


More information about the svn-src-head mailing list