aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/socket.c
diff options
context:
space:
mode:
authorDavid Shwatrz <dshwatrz@gmail.com>2010-12-02 04:01:55 -0500
committerDavid S. Miller <davem@davemloft.net>2010-12-06 16:10:11 -0500
commit8917a3c0b7d1557548f50bfe3f0e18e0354e38f6 (patch)
tree8bb698c078f7808deaa0de1b9035bbf658416205 /net/sctp/socket.c
parent2d5311e4e8272fd398fc1cf278f12fd6dee4074b (diff)
Fix a typo in datagram.c and sctp/socket.c.
Hi, This patch fixes a typo in net/core/datagram.c and in net/sctp/socket.c Regards, David Shwartz Signed-off-by: David Shwartz <dshwatrz@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r--net/sctp/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index 6bd554323a34..842c7f3650b9 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -6047,7 +6047,7 @@ static struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags,
6047 * will suddenly eat the receive_queue. 6047 * will suddenly eat the receive_queue.
6048 * 6048 *
6049 * Look at current nfs client by the way... 6049 * Look at current nfs client by the way...
6050 * However, this function was corrent in any case. 8) 6050 * However, this function was correct in any case. 8)
6051 */ 6051 */
6052 if (flags & MSG_PEEK) { 6052 if (flags & MSG_PEEK) {
6053 spin_lock_bh(&sk->sk_receive_queue.lock); 6053 spin_lock_bh(&sk->sk_receive_queue.lock);