diff options
author | maxim <maxim@FreeBSD.org> | 2003-02-17 13:41:55 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2003-02-17 13:41:55 +0000 |
commit | 0e0fc7fd7e4f9120fd24fdd1965480376ca2ddae (patch) | |
tree | 5a61af04ebbbff0202f82afe45b2ff240cbf6504 /sys/net/if_spppsubr.c | |
parent | d08c1f6ee18856519bcf0884b104278d8f4e1695 (diff) | |
download | FreeBSD-src-0e0fc7fd7e4f9120fd24fdd1965480376ca2ddae.zip FreeBSD-src-0e0fc7fd7e4f9120fd24fdd1965480376ca2ddae.tar.gz |
o Restore an interrupt priority level before return.
Submitted by: Roman Kurakin <rik@cronyx.ru>
Reviewed by: joerg
MFC after: 5 days
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r-- | sys/net/if_spppsubr.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |