aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/icmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/icmp.c')
-rw-r--r--net/ipv6/icmp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c
index af88934e4d79..6dd59f160da4 100644
--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -499,7 +499,7 @@ void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info)
499 err = ip6_append_data(sk, icmpv6_getfrag, &msg, 499 err = ip6_append_data(sk, icmpv6_getfrag, &msg,
500 len + sizeof(struct icmp6hdr), 500 len + sizeof(struct icmp6hdr),
501 sizeof(struct icmp6hdr), hlimit, 501 sizeof(struct icmp6hdr), hlimit,
502 np->tclass, NULL, &fl6, (struct rt6_info*)dst, 502 np->tclass, NULL, &fl6, (struct rt6_info *)dst,
503 MSG_DONTWAIT, np->dontfrag); 503 MSG_DONTWAIT, np->dontfrag);
504 if (err) { 504 if (err) {
505 ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTERRORS); 505 ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTERRORS);
@@ -580,7 +580,7 @@ static void icmpv6_echo_reply(struct sk_buff *skb)
580 580
581 err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr), 581 err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr),
582 sizeof(struct icmp6hdr), hlimit, np->tclass, NULL, &fl6, 582 sizeof(struct icmp6hdr), hlimit, np->tclass, NULL, &fl6,
583 (struct rt6_info*)dst, MSG_DONTWAIT, 583 (struct rt6_info *)dst, MSG_DONTWAIT,
584 np->dontfrag); 584 np->dontfrag);
585 585
586 if (err) { 586 if (err) {
@@ -951,7 +951,6 @@ int icmpv6_err_convert(u8 type, u8 code, int *err)
951 951
952 return fatal; 952 return fatal;
953} 953}
954
955EXPORT_SYMBOL(icmpv6_err_convert); 954EXPORT_SYMBOL(icmpv6_err_convert);
956 955
957#ifdef CONFIG_SYSCTL 956#ifdef CONFIG_SYSCTL