dccp: Unlock sock before calling sk_free()

am: 9216632bf4

Change-Id: Id3dda6def7939123cc232d10fefcd0bb2b020ccc
This commit is contained in:
Arnaldo Carvalho de Melo
2017-03-22 11:29:41 +00:00
committed by android-build-merger

View File

@@ -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;
}