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 27ac95a63429..cc079d8d4681 100644
--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -498,7 +498,7 @@ void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info)
498 err = ip6_append_data(sk, icmpv6_getfrag, &msg, 498 err = ip6_append_data(sk, icmpv6_getfrag, &msg,
499 len + sizeof(struct icmp6hdr), 499 len + sizeof(struct icmp6hdr),
500 sizeof(struct icmp6hdr), hlimit, 500 sizeof(struct icmp6hdr), hlimit,
501 np->tclass, NULL, &fl6, (struct rt6_info*)dst, 501 np->tclass, NULL, &fl6, (struct rt6_info *)dst,
502 MSG_DONTWAIT, np->dontfrag); 502 MSG_DONTWAIT, np->dontfrag);
503 if (err) { 503 if (err) {
504 ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTERRORS); 504 ICMP6_INC_STATS_BH(net, idev, ICMP6_MIB_OUTERRORS);
@@ -579,7 +579,7 @@ static void icmpv6_echo_reply(struct sk_buff *skb)
579 579
580 err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr), 580 err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr),
581 sizeof(struct icmp6hdr), hlimit, np->tclass, NULL, &fl6, 581 sizeof(struct icmp6hdr), hlimit, np->tclass, NULL, &fl6,
582 (struct rt6_info*)dst, MSG_DONTWAIT, 582 (struct rt6_info *)dst, MSG_DONTWAIT,
583 np->dontfrag); 583 np->dontfrag);
584 584
585 if (err) { 585 if (err) {
@@ -950,7 +950,6 @@ int icmpv6_err_convert(u8 type, u8 code, int *err)
950 950
951 return fatal; 951 return fatal;
952} 952}
953
954EXPORT_SYMBOL(icmpv6_err_convert); 953EXPORT_SYMBOL(icmpv6_err_convert);
955 954
956#ifdef CONFIG_SYSCTL 955#ifdef CONFIG_SYSCTL