diff options
Diffstat (limited to 'net/sctp/output.c')
-rw-r--r-- | net/sctp/output.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/sctp/output.c b/net/sctp/output.c index aa700feea76c..cf4f9fb6819d 100644 --- a/net/sctp/output.c +++ b/net/sctp/output.c | |||
@@ -74,7 +74,7 @@ struct sctp_packet *sctp_packet_config(struct sctp_packet *packet, | |||
74 | { | 74 | { |
75 | struct sctp_chunk *chunk = NULL; | 75 | struct sctp_chunk *chunk = NULL; |
76 | 76 | ||
77 | SCTP_DEBUG_PRINTK("%s: packet:%p vtag:0x%x\n", __FUNCTION__, | 77 | SCTP_DEBUG_PRINTK("%s: packet:%p vtag:0x%x\n", __func__, |
78 | packet, vtag); | 78 | packet, vtag); |
79 | 79 | ||
80 | packet->vtag = vtag; | 80 | packet->vtag = vtag; |
@@ -106,7 +106,7 @@ struct sctp_packet *sctp_packet_init(struct sctp_packet *packet, | |||
106 | struct sctp_association *asoc = transport->asoc; | 106 | struct sctp_association *asoc = transport->asoc; |
107 | size_t overhead; | 107 | size_t overhead; |
108 | 108 | ||
109 | SCTP_DEBUG_PRINTK("%s: packet:%p transport:%p\n", __FUNCTION__, | 109 | SCTP_DEBUG_PRINTK("%s: packet:%p transport:%p\n", __func__, |
110 | packet, transport); | 110 | packet, transport); |
111 | 111 | ||
112 | packet->transport = transport; | 112 | packet->transport = transport; |
@@ -138,7 +138,7 @@ void sctp_packet_free(struct sctp_packet *packet) | |||
138 | { | 138 | { |
139 | struct sctp_chunk *chunk, *tmp; | 139 | struct sctp_chunk *chunk, *tmp; |
140 | 140 | ||
141 | SCTP_DEBUG_PRINTK("%s: packet:%p\n", __FUNCTION__, packet); | 141 | SCTP_DEBUG_PRINTK("%s: packet:%p\n", __func__, packet); |
142 | 142 | ||
143 | list_for_each_entry_safe(chunk, tmp, &packet->chunk_list, list) { | 143 | list_for_each_entry_safe(chunk, tmp, &packet->chunk_list, list) { |
144 | list_del_init(&chunk->list); | 144 | list_del_init(&chunk->list); |
@@ -162,7 +162,7 @@ sctp_xmit_t sctp_packet_transmit_chunk(struct sctp_packet *packet, | |||
162 | sctp_xmit_t retval; | 162 | sctp_xmit_t retval; |
163 | int error = 0; | 163 | int error = 0; |
164 | 164 | ||
165 | SCTP_DEBUG_PRINTK("%s: packet:%p chunk:%p\n", __FUNCTION__, | 165 | SCTP_DEBUG_PRINTK("%s: packet:%p chunk:%p\n", __func__, |
166 | packet, chunk); | 166 | packet, chunk); |
167 | 167 | ||
168 | switch ((retval = (sctp_packet_append_chunk(packet, chunk)))) { | 168 | switch ((retval = (sctp_packet_append_chunk(packet, chunk)))) { |
@@ -264,7 +264,7 @@ sctp_xmit_t sctp_packet_append_chunk(struct sctp_packet *packet, | |||
264 | size_t pmtu; | 264 | size_t pmtu; |
265 | int too_big; | 265 | int too_big; |
266 | 266 | ||
267 | SCTP_DEBUG_PRINTK("%s: packet:%p chunk:%p\n", __FUNCTION__, packet, | 267 | SCTP_DEBUG_PRINTK("%s: packet:%p chunk:%p\n", __func__, packet, |
268 | chunk); | 268 | chunk); |
269 | 269 | ||
270 | /* Try to bundle AUTH chunk */ | 270 | /* Try to bundle AUTH chunk */ |
@@ -372,7 +372,7 @@ int sctp_packet_transmit(struct sctp_packet *packet) | |||
372 | unsigned char *auth = NULL; /* pointer to auth in skb data */ | 372 | unsigned char *auth = NULL; /* pointer to auth in skb data */ |
373 | __u32 cksum_buf_len = sizeof(struct sctphdr); | 373 | __u32 cksum_buf_len = sizeof(struct sctphdr); |
374 | 374 | ||
375 | SCTP_DEBUG_PRINTK("%s: packet:%p\n", __FUNCTION__, packet); | 375 | SCTP_DEBUG_PRINTK("%s: packet:%p\n", __func__, packet); |
376 | 376 | ||
377 | /* Do NOT generate a chunkless packet. */ | 377 | /* Do NOT generate a chunkless packet. */ |
378 | if (list_empty(&packet->chunk_list)) | 378 | if (list_empty(&packet->chunk_list)) |
@@ -677,7 +677,7 @@ static sctp_xmit_t sctp_packet_append_data(struct sctp_packet *packet, | |||
677 | "transport: %p, cwnd: %d, " | 677 | "transport: %p, cwnd: %d, " |
678 | "ssthresh: %d, flight_size: %d, " | 678 | "ssthresh: %d, flight_size: %d, " |
679 | "pba: %d\n", | 679 | "pba: %d\n", |
680 | __FUNCTION__, transport, | 680 | __func__, transport, |
681 | transport->cwnd, | 681 | transport->cwnd, |
682 | transport->ssthresh, | 682 | transport->ssthresh, |
683 | transport->flight_size, | 683 | transport->flight_size, |