From 0e0fc7fd7e4f9120fd24fdd1965480376ca2ddae Mon Sep 17 00:00:00 2001 From: maxim Date: Mon, 17 Feb 2003 13:41:55 +0000 Subject: o Restore an interrupt priority level before return. Submitted by: Roman Kurakin Reviewed by: joerg MFC after: 5 days --- sys/net/if_spppsubr.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/net/if_spppsubr.c') diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 7014a89..cfd1546 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -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 -- cgit v1.1