From 57bb41e5a90eb26c9912106dde606a00d46c9817 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Mon, 4 Sep 2006 18:18:07 +0300 Subject: [PATCH] IB/sdp: fix data corruption on SLES10 (should affect other systems as well). --- drivers/infiniband/ulp/sdp/sdp_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/ulp/sdp/sdp_main.c b/drivers/infiniband/ulp/sdp/sdp_main.c index 2e28438688c2a..d962cdd23fe3c 100644 --- a/drivers/infiniband/ulp/sdp/sdp_main.c +++ b/drivers/infiniband/ulp/sdp/sdp_main.c @@ -704,7 +704,7 @@ static void sdp_mark_push(struct sdp_sock *ssk, struct sk_buff *skb) static inline void sdp_push_pending_frames(struct sock *sk) { - struct sk_buff *skb = sk->sk_write_queue.prev; + struct sk_buff *skb = sk->sk_send_head; if (skb) { sdp_mark_push(sdp_sk(sk), skb); sdp_post_sends(sdp_sk(sk), 0); -- 2.49.0