Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143946
b: refs/heads/master
c: 60d3705
h: refs/heads/master
v: v3
  • Loading branch information
Hendrik Brueckner authored and David S. Miller committed Apr 22, 2009
1 parent 490c37f commit 78e908b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bbe188c8f16effd902d1ad391e06e41ce649b22e
refs/heads/master: 60d3705fcbfe7deca8e94bc7ddecd6f9f1a4647e
6 changes: 3 additions & 3 deletions trunk/net/iucv/af_iucv.c
Original file line number Diff line number Diff line change
Expand Up @@ -814,6 +814,8 @@ static int iucv_sock_recvmsg(struct kiocb *iocb, struct socket *sock,

target = sock_rcvlowat(sk, flags & MSG_WAITALL, len);

/* receive/dequeue next skb:
* the function understands MSG_PEEK and, thus, does not dequeue skb */
skb = skb_recv_datagram(sk, flags, noblock, &err);
if (!skb) {
if (sk->sk_shutdown & RCV_SHUTDOWN)
Expand Down Expand Up @@ -861,9 +863,7 @@ static int iucv_sock_recvmsg(struct kiocb *iocb, struct socket *sock,
iucv_process_message_q(sk);
spin_unlock_bh(&iucv->message_q.lock);
}

} else
skb_queue_head(&sk->sk_receive_queue, skb);
}

done:
return err ? : copied;
Expand Down

0 comments on commit 78e908b

Please sign in to comment.