Commit 8917a3c0 authored by David Shwatrz's avatar David Shwatrz Committed by David S. Miller

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: default avatarDavid Shwartz <dshwatrz@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2d5311e4
...@@ -177,7 +177,7 @@ struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned flags, ...@@ -177,7 +177,7 @@ struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned flags,
* interrupt level will suddenly eat the receive_queue. * interrupt level will suddenly eat the receive_queue.
* *
* Look at current nfs client by the way... * Look at current nfs client by the way...
* However, this function was corrent in any case. 8) * However, this function was correct in any case. 8)
*/ */
unsigned long cpu_flags; unsigned long cpu_flags;
......
...@@ -6047,7 +6047,7 @@ static struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags, ...@@ -6047,7 +6047,7 @@ static struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags,
* will suddenly eat the receive_queue. * will suddenly eat the receive_queue.
* *
* Look at current nfs client by the way... * Look at current nfs client by the way...
* However, this function was corrent in any case. 8) * However, this function was correct in any case. 8)
*/ */
if (flags & MSG_PEEK) { if (flags & MSG_PEEK) {
spin_lock_bh(&sk->sk_receive_queue.lock); spin_lock_bh(&sk->sk_receive_queue.lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment