IB/iser: Avoid recv buffer exhaustion caused by unexpected PDUs
[deliverable/linux.git] / drivers / infiniband / ulp / iser / iscsi_iser.h
index 81a82628a5f1ebba68217ca6d20a5d5fd48bacbd..861119593f2b8cae85bcaf91bca423101a2da4b1 100644 (file)
@@ -252,6 +252,9 @@ struct iser_conn {
        wait_queue_head_t            wait;          /* waitq for conn/disconn  */
        atomic_t                     post_recv_buf_count; /* posted rx count   */
        atomic_t                     post_send_buf_count; /* posted tx count   */
+       atomic_t                     unexpected_pdu_count;/* count of received *
+                                                          * unexpected pdus   *
+                                                          * not yet retired   */
        char                         name[ISER_OBJECT_NAME_SIZE];
        struct iser_page_vec         *page_vec;     /* represents SG to fmr maps*
                                                     * maps serialized as tx is*/
This page took 0.025734 seconds and 5 git commands to generate.