]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
IB/sdp: do not reset offsets on disconnect
authorAmiram Perlmutter <amip@mellanox.co.il>
Sun, 20 Aug 2006 09:15:17 +0000 (12:15 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:03:56 +0000 (05:03 -0700)
Signed-off-by: Amiram Perlmutter <amip@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp.h

index a701b91d4df8b3722c6c6c155f19894721484919..3fd0caf7d726e1d6b1f28fe1d0a18bd9fb55ea79 100644 (file)
@@ -99,6 +99,13 @@ struct sdp_sock {
        struct work_struct destroy_work;
 
        /* Like tcp_sock */
+       u16 urg_data;
+       u32 urg_seq;
+       u32 copied_seq;
+       u32 rcv_nxt;
+
+       int write_seq;
+       int pushed_seq;
        int xmit_size_goal;
        int nonagle;
 
@@ -120,15 +127,6 @@ struct sdp_sock {
        unsigned mseq_ack;
        unsigned bufs;
 
-       /* Like tcp_sock */
-       __u16 urg_data;
-       u32 urg_seq;
-       u32 copied_seq;
-       u32 rcv_nxt;
-
-       int write_seq;
-       int pushed_seq;
-
        int               remote_credits;
 
        struct sdp_buf   *tx_ring;