net: Fix use after free by removing length arg from sk_data_ready callbacks.
[linux.git] / drivers / target / iscsi / iscsi_target_core.h
index 48f7b3bf4e8c3d2eec3bb413d33d99b6760ce3be..f452398fe0f04aa4c5ca1925af943f30d3838054 100644 (file)
@@ -556,7 +556,7 @@ struct iscsi_conn {
        struct completion       rx_half_close_comp;
        /* socket used by this connection */
        struct socket           *sock;
-       void                    (*orig_data_ready)(struct sock *, int);
+       void                    (*orig_data_ready)(struct sock *);
        void                    (*orig_state_change)(struct sock *);
 #define LOGIN_FLAGS_READ_ACTIVE                1
 #define LOGIN_FLAGS_CLOSED             2