• Sridhar Samudrala's avatar
    o net/socket: fix bug in sys_accept · a29443da
    Sridhar Samudrala authored
    module_put() gets called twice on error. Once via the explicit module_put and
    the second via sock_release(). Also i think we should do a __module_get() with
    newsock's owner(although same as the original listening sock).
    a29443da
socket.c 45.7 KB