diff options
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r-- | net/sctp/socket.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c index d994d822900d..a3138a0fe2c5 100644 --- a/net/sctp/socket.c +++ b/net/sctp/socket.c | |||
@@ -525,7 +525,7 @@ static int sctp_send_asconf_add_ip(struct sock *sk, | |||
525 | ep = sp->ep; | 525 | ep = sp->ep; |
526 | 526 | ||
527 | SCTP_DEBUG_PRINTK("%s: (sk: %p, addrs: %p, addrcnt: %d)\n", | 527 | SCTP_DEBUG_PRINTK("%s: (sk: %p, addrs: %p, addrcnt: %d)\n", |
528 | __FUNCTION__, sk, addrs, addrcnt); | 528 | __func__, sk, addrs, addrcnt); |
529 | 529 | ||
530 | list_for_each(pos, &ep->asocs) { | 530 | list_for_each(pos, &ep->asocs) { |
531 | asoc = list_entry(pos, struct sctp_association, asocs); | 531 | asoc = list_entry(pos, struct sctp_association, asocs); |
@@ -711,7 +711,7 @@ static int sctp_send_asconf_del_ip(struct sock *sk, | |||
711 | ep = sp->ep; | 711 | ep = sp->ep; |
712 | 712 | ||
713 | SCTP_DEBUG_PRINTK("%s: (sk: %p, addrs: %p, addrcnt: %d)\n", | 713 | SCTP_DEBUG_PRINTK("%s: (sk: %p, addrs: %p, addrcnt: %d)\n", |
714 | __FUNCTION__, sk, addrs, addrcnt); | 714 | __func__, sk, addrs, addrcnt); |
715 | 715 | ||
716 | list_for_each(pos, &ep->asocs) { | 716 | list_for_each(pos, &ep->asocs) { |
717 | asoc = list_entry(pos, struct sctp_association, asocs); | 717 | asoc = list_entry(pos, struct sctp_association, asocs); |
@@ -1197,7 +1197,7 @@ SCTP_STATIC int sctp_setsockopt_connectx(struct sock* sk, | |||
1197 | struct sockaddr *kaddrs; | 1197 | struct sockaddr *kaddrs; |
1198 | 1198 | ||
1199 | SCTP_DEBUG_PRINTK("%s - sk %p addrs %p addrs_size %d\n", | 1199 | SCTP_DEBUG_PRINTK("%s - sk %p addrs %p addrs_size %d\n", |
1200 | __FUNCTION__, sk, addrs, addrs_size); | 1200 | __func__, sk, addrs, addrs_size); |
1201 | 1201 | ||
1202 | if (unlikely(addrs_size <= 0)) | 1202 | if (unlikely(addrs_size <= 0)) |
1203 | return -EINVAL; | 1203 | return -EINVAL; |
@@ -3302,7 +3302,7 @@ SCTP_STATIC int sctp_connect(struct sock *sk, struct sockaddr *addr, | |||
3302 | sctp_lock_sock(sk); | 3302 | sctp_lock_sock(sk); |
3303 | 3303 | ||
3304 | SCTP_DEBUG_PRINTK("%s - sk: %p, sockaddr: %p, addr_len: %d\n", | 3304 | SCTP_DEBUG_PRINTK("%s - sk: %p, sockaddr: %p, addr_len: %d\n", |
3305 | __FUNCTION__, sk, addr, addr_len); | 3305 | __func__, sk, addr, addr_len); |
3306 | 3306 | ||
3307 | /* Validate addr_len before calling common connect/connectx routine. */ | 3307 | /* Validate addr_len before calling common connect/connectx routine. */ |
3308 | af = sctp_get_af_specific(addr->sa_family); | 3308 | af = sctp_get_af_specific(addr->sa_family); |
@@ -3823,7 +3823,7 @@ static int sctp_getsockopt_peeloff(struct sock *sk, int len, char __user *optval | |||
3823 | goto out; | 3823 | goto out; |
3824 | } | 3824 | } |
3825 | 3825 | ||
3826 | SCTP_DEBUG_PRINTK("%s: sk: %p asoc: %p\n", __FUNCTION__, sk, asoc); | 3826 | SCTP_DEBUG_PRINTK("%s: sk: %p asoc: %p\n", __func__, sk, asoc); |
3827 | 3827 | ||
3828 | retval = sctp_do_peeloff(asoc, &newsock); | 3828 | retval = sctp_do_peeloff(asoc, &newsock); |
3829 | if (retval < 0) | 3829 | if (retval < 0) |
@@ -3837,7 +3837,7 @@ static int sctp_getsockopt_peeloff(struct sock *sk, int len, char __user *optval | |||
3837 | } | 3837 | } |
3838 | 3838 | ||
3839 | SCTP_DEBUG_PRINTK("%s: sk: %p asoc: %p newsk: %p sd: %d\n", | 3839 | SCTP_DEBUG_PRINTK("%s: sk: %p asoc: %p newsk: %p sd: %d\n", |
3840 | __FUNCTION__, sk, asoc, newsock->sk, retval); | 3840 | __func__, sk, asoc, newsock->sk, retval); |
3841 | 3841 | ||
3842 | /* Return the fd mapped to the new socket. */ | 3842 | /* Return the fd mapped to the new socket. */ |
3843 | peeloff.sd = retval; | 3843 | peeloff.sd = retval; |
@@ -6233,7 +6233,7 @@ static int sctp_wait_for_connect(struct sctp_association *asoc, long *timeo_p) | |||
6233 | long current_timeo = *timeo_p; | 6233 | long current_timeo = *timeo_p; |
6234 | DEFINE_WAIT(wait); | 6234 | DEFINE_WAIT(wait); |
6235 | 6235 | ||
6236 | SCTP_DEBUG_PRINTK("%s: asoc=%p, timeo=%ld\n", __FUNCTION__, asoc, | 6236 | SCTP_DEBUG_PRINTK("%s: asoc=%p, timeo=%ld\n", __func__, asoc, |
6237 | (long)(*timeo_p)); | 6237 | (long)(*timeo_p)); |
6238 | 6238 | ||
6239 | /* Increment the association's refcnt. */ | 6239 | /* Increment the association's refcnt. */ |