From 9c746985481d228808824c8f1777b3fe6f4d1cd8 Mon Sep 17 00:00:00 2001 From: Amiram Perlmutter Date: Sun, 20 Aug 2006 12:15:17 +0300 Subject: [PATCH] IB/sdp: do not reset offsets on disconnect Signed-off-by: Amiram Perlmutter --- drivers/infiniband/ulp/sdp/sdp.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/infiniband/ulp/sdp/sdp.h b/drivers/infiniband/ulp/sdp/sdp.h index a701b91d4df8..3fd0caf7d726 100644 --- a/drivers/infiniband/ulp/sdp/sdp.h +++ b/drivers/infiniband/ulp/sdp/sdp.h @@ -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; -- 2.51.0