Fixes brutal bug with calling schedule()
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 12 Oct 2013 15:57:09 +0000 (08:57 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 12 Oct 2013 15:57:09 +0000 (08:57 -0700)
commitfb7e2a516fda48dc6b495891288ac5d10df80be0
treef8f49437bbcefb314a9a0f76b9356e4fae3265e9
parentcf99763a7df494fb02c9177b64b54c9e4442d793
Fixes brutal bug with calling schedule()

This was super nasty.  Running the scheduler at arbitrary places
seriously messes things ups.  This one started off with the
current_errstr() assert failing, which seemed like we didn't have a
syscall when we were running syscall code.
kern/src/net/nixip/tcp.c