Skip to content
Snippets Groups Projects
Commit 073d9ea7 authored by Nadav Har'El's avatar Nadav Har'El
Browse files

Fix "ifconfig" corrupting accept_mtx

ifconfig used to call sofree(), which assumed accept_mtx was taken, which
wasn't true, resulting in either an assertion failure (if we implement
assert_mtx - see next patch) or a mutex corruption (if assert_mtx does
nothing).

Instead, we should call soclose(). This wasn't very hard to figure out,
given the comment in socreate() saying "The socket should be closed with
soclose()." :-)
parent bbcd59f7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment