]> Git Repo - linux.git/blobdiff - net/nfc/llcp_core.c
net: Fix use after free by removing length arg from sk_data_ready callbacks.
[linux.git] / net / nfc / llcp_core.c
index b486f12ae2433f175cdcf62af7284c812c9ea29e..b4671958fcf935c3c3d984afc18f473bc882eae4 100644 (file)
@@ -976,7 +976,7 @@ static void nfc_llcp_recv_connect(struct nfc_llcp_local *local,
        new_sk->sk_state = LLCP_CONNECTED;
 
        /* Wake the listening processes */
-       parent->sk_data_ready(parent, 0);
+       parent->sk_data_ready(parent);
 
        /* Send CC */
        nfc_llcp_send_cc(new_sock);
This page took 0.030568 seconds and 4 git commands to generate.