o Restore an interrupt priority level before return.

Submitted by:	Roman Kurakin <rik@cronyx.ru>
Reviewed by:	joerg
MFC after:	5 days
This commit is contained in:
maxim 2003-02-17 13:41:55 +00:00
parent d08c1f6ee1
commit 0e0fc7fd7e

View File

@ -980,8 +980,10 @@ sppp_output(struct ifnet *ifp, struct mbuf *m,
*/
if (! IF_HANDOFF_ADJ(ifq, m, ifp, 3)) {
++ifp->if_oerrors;
splx (s);
return (rv? rv: ENOBUFS);
}
splx (s);
/*
* Unlike in sppp_input(), we can always bump the timestamp
* here since sppp_output() is only called on behalf of