]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Fix a typo in datagram.c and sctp/socket.c.
authorDavid Shwatrz <dshwatrz@gmail.com>
Thu, 2 Dec 2010 09:01:55 +0000 (09:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Dec 2010 21:10:11 +0000 (13:10 -0800)
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>
net/core/datagram.c
net/sctp/socket.c

index cd1e039c87559a236db754e738917b5e34666aaa..18ac112ea7ae7abeaef244b33752d1d3d9d2e460 100644 (file)
@@ -177,7 +177,7 @@ struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned flags,
                 * interrupt level will suddenly eat the receive_queue.
                 *
                 * 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;
 
index 6bd554323a342d4db49be267766b87492bd2e584..842c7f3650b94b1fb1f33b2c0a32665e6f4bf252 100644 (file)
@@ -6047,7 +6047,7 @@ static struct sk_buff *sctp_skb_recv_datagram(struct sock *sk, int flags,
                 * will suddenly eat the receive_queue.
                 *
                 *  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) {
                        spin_lock_bh(&sk->sk_receive_queue.lock);