Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2007 13:25:50 GMT
From:      Tai-hwa Liang <avatar@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 123687 for review
Message-ID:  <200707181325.l6IDPocF009392@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123687

Change 123687 by avatar@avatar_t40 on 2007/07/18 13:25:39

	Close another LOR by dropping the driver lock around calls to
	if_input().
	
	MFP4 after:	2 weeks

Affected files ...

.. //depot/projects/wifi/sys/dev/an/if_an.c#15 edit

Differences ...

==== //depot/projects/wifi/sys/dev/an/if_an.c#15 (text+ko) ====

@@ -1065,8 +1065,10 @@
 					rx_frame.an_rsvd0);
 #endif
 #endif
+				AN_UNLOCK(sc);
 				(*ifp->if_input)(ifp, m);
-			
+				AN_LOCK(sc);
+
 				an_rx_desc.an_valid = 1;
 				an_rx_desc.an_len = AN_RX_BUFFER_SIZE;
 				an_rx_desc.an_done = 0;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707181325.l6IDPocF009392>