aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/ipv6.c')
-rw-r--r--net/sctp/ipv6.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c
index 4862835b0c39..2622215cd357 100644
--- a/net/sctp/ipv6.c
+++ b/net/sctp/ipv6.c
@@ -223,7 +223,7 @@ static int sctp_v6_xmit(struct sk_buff *skb, struct sctp_transport *transport,
223 223
224 SCTP_DEBUG_PRINTK("%s: skb:%p, len:%d, " 224 SCTP_DEBUG_PRINTK("%s: skb:%p, len:%d, "
225 "src:" NIP6_FMT " dst:" NIP6_FMT "\n", 225 "src:" NIP6_FMT " dst:" NIP6_FMT "\n",
226 __FUNCTION__, skb, skb->len, 226 __func__, skb, skb->len,
227 NIP6(fl.fl6_src), NIP6(fl.fl6_dst)); 227 NIP6(fl.fl6_src), NIP6(fl.fl6_dst));
228 228
229 SCTP_INC_STATS(SCTP_MIB_OUTSCTPPACKS); 229 SCTP_INC_STATS(SCTP_MIB_OUTSCTPPACKS);
@@ -248,7 +248,7 @@ static struct dst_entry *sctp_v6_get_dst(struct sctp_association *asoc,
248 248
249 249
250 SCTP_DEBUG_PRINTK("%s: DST=" NIP6_FMT " ", 250 SCTP_DEBUG_PRINTK("%s: DST=" NIP6_FMT " ",
251 __FUNCTION__, NIP6(fl.fl6_dst)); 251 __func__, NIP6(fl.fl6_dst));
252 252
253 if (saddr) { 253 if (saddr) {
254 ipv6_addr_copy(&fl.fl6_src, &saddr->v6.sin6_addr); 254 ipv6_addr_copy(&fl.fl6_src, &saddr->v6.sin6_addr);
@@ -310,7 +310,7 @@ static void sctp_v6_get_saddr(struct sctp_association *asoc,
310 310
311 SCTP_DEBUG_PRINTK("%s: asoc:%p dst:%p " 311 SCTP_DEBUG_PRINTK("%s: asoc:%p dst:%p "
312 "daddr:" NIP6_FMT " ", 312 "daddr:" NIP6_FMT " ",
313 __FUNCTION__, asoc, dst, NIP6(daddr->v6.sin6_addr)); 313 __func__, asoc, dst, NIP6(daddr->v6.sin6_addr));
314 314
315 if (!asoc) { 315 if (!asoc) {
316 ipv6_dev_get_saddr(dst ? ip6_dst_idev(dst)->dev : NULL, 316 ipv6_dev_get_saddr(dst ? ip6_dst_idev(dst)->dev : NULL,
@@ -349,7 +349,7 @@ static void sctp_v6_get_saddr(struct sctp_association *asoc,
349 } else { 349 } else {
350 printk(KERN_ERR "%s: asoc:%p Could not find a valid source " 350 printk(KERN_ERR "%s: asoc:%p Could not find a valid source "
351 "address for the dest:" NIP6_FMT "\n", 351 "address for the dest:" NIP6_FMT "\n",
352 __FUNCTION__, asoc, NIP6(daddr->v6.sin6_addr)); 352 __func__, asoc, NIP6(daddr->v6.sin6_addr));
353 } 353 }
354 354
355 rcu_read_unlock(); 355 rcu_read_unlock();