o net/socket: fix bug in sys_accept
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).
Showing
Please register or sign in to comment