CVSROOT: /cvs Module name: src Changes by: flor...@cvs.openbsd.org 2017/11/03 06:49:42
Modified files: sys/net : raw_cb.c raw_cb.h raw_usrreq.c Log message: There is no way SS_NOFDREF is set on a raw socket in raw_usrreq for PRU_DISCONNECT or PRU_ABORT. So raw_disconnect() and sofree() return immediately so remove the dead code. Also the following call to soisdisconnected() would be a use after free. This removes the last calls to raw_disconnect() so tedu it.