aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorWei Yongjun <yjwei@cn.fujitsu.com>2008-12-25 19:56:45 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-25 19:56:45 -0500
commitea686a2653c5586b1c7192958b9d521abde66e92 (patch)
treef82a38e2dba44629110f111cd4adf49d3df86d9b /net/sctp
parente89c2095815d82eaa9fb85eff42f8b65b67a59cf (diff)
sctp: Fix a typo in socket.c
Just fix a typo in socket.c. Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/socket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index 0738843876a1..e432927310c9 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -2404,9 +2404,9 @@ static int sctp_setsockopt_delayed_ack(struct sock *sk,
2404 if (params.sack_delay == 0 && params.sack_freq == 0) 2404 if (params.sack_delay == 0 && params.sack_freq == 0)
2405 return 0; 2405 return 0;
2406 } else if (optlen == sizeof(struct sctp_assoc_value)) { 2406 } else if (optlen == sizeof(struct sctp_assoc_value)) {
2407 printk(KERN_WARNING "SCTP: Use of struct sctp_sack_info " 2407 printk(KERN_WARNING "SCTP: Use of struct sctp_assoc_value "
2408 "in delayed_ack socket option deprecated\n"); 2408 "in delayed_ack socket option deprecated\n");
2409 printk(KERN_WARNING "SCTP: struct sctp_sack_info instead\n"); 2409 printk(KERN_WARNING "SCTP: Use struct sctp_sack_info instead\n");
2410 if (copy_from_user(&params, optval, optlen)) 2410 if (copy_from_user(&params, optval, optlen))
2411 return -EFAULT; 2411 return -EFAULT;
2412 2412
@@ -4221,9 +4221,9 @@ static int sctp_getsockopt_delayed_ack(struct sock *sk, int len,
4221 if (copy_from_user(&params, optval, len)) 4221 if (copy_from_user(&params, optval, len))
4222 return -EFAULT; 4222 return -EFAULT;
4223 } else if (len == sizeof(struct sctp_assoc_value)) { 4223 } else if (len == sizeof(struct sctp_assoc_value)) {
4224 printk(KERN_WARNING "SCTP: Use of struct sctp_sack_info " 4224 printk(KERN_WARNING "SCTP: Use of struct sctp_assoc_value "
4225 "in delayed_ack socket option deprecated\n"); 4225 "in delayed_ack socket option deprecated\n");
4226 printk(KERN_WARNING "SCTP: struct sctp_sack_info instead\n"); 4226 printk(KERN_WARNING "SCTP: Use struct sctp_sack_info instead\n");
4227 if (copy_from_user(&params, optval, len)) 4227 if (copy_from_user(&params, optval, len))
4228 return -EFAULT; 4228 return -EFAULT;
4229 } else 4229 } else