mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
dccp: Unlock sock before calling sk_free()
am: 9216632bf4
Change-Id: Id3dda6def7939123cc232d10fefcd0bb2b020ccc
This commit is contained in:
committed by
android-build-merger
commit
3c8e4a165a
@@ -122,6 +122,7 @@ struct sock *dccp_create_openreq_child(const struct sock *sk,
|
||||
/* It is still raw copy of parent, so invalidate
|
||||
* destructor and make plain sk_free() */
|
||||
newsk->sk_destruct = NULL;
|
||||
bh_unlock_sock(newsk);
|
||||
sk_free(newsk);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user