MFP4(123687): Closing another LOR by dropping the driver lock around calls

to if_input().

Reviewed by:	ambrisko
Tested by:	dhw
Approved by:	re (kensmith)
This commit is contained in:
Tai-hwa Liang 2007-08-07 12:26:19 +00:00
parent a4e6807c49
commit 07b6a9bed8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171775

View File

@ -1065,8 +1065,10 @@ an_rxeof(struct an_softc *sc)
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;