Loading net/ipv6/icmp.c +4 −1 Original line number Original line Diff line number Diff line Loading @@ -67,6 +67,7 @@ #include <net/icmp.h> #include <net/icmp.h> #include <net/xfrm.h> #include <net/xfrm.h> #include <net/inet_common.h> #include <net/inet_common.h> #include <net/dsfield.h> #include <asm/uaccess.h> #include <asm/uaccess.h> Loading Loading @@ -553,6 +554,7 @@ static void icmpv6_echo_reply(struct sk_buff *skb) struct dst_entry *dst; struct dst_entry *dst; int err = 0; int err = 0; int hlimit; int hlimit; u8 tclass; saddr = &ipv6_hdr(skb)->daddr; saddr = &ipv6_hdr(skb)->daddr; Loading Loading @@ -603,8 +605,9 @@ static void icmpv6_echo_reply(struct sk_buff *skb) msg.offset = 0; msg.offset = 0; msg.type = ICMPV6_ECHO_REPLY; msg.type = ICMPV6_ECHO_REPLY; tclass = ipv6_get_dsfield(ipv6_hdr(skb)); err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr), err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr), sizeof(struct icmp6hdr), hlimit, np->tclass, NULL, &fl6, sizeof(struct icmp6hdr), hlimit, tclass, NULL, &fl6, (struct rt6_info *)dst, MSG_DONTWAIT, (struct rt6_info *)dst, MSG_DONTWAIT, np->dontfrag); np->dontfrag); Loading Loading
net/ipv6/icmp.c +4 −1 Original line number Original line Diff line number Diff line Loading @@ -67,6 +67,7 @@ #include <net/icmp.h> #include <net/icmp.h> #include <net/xfrm.h> #include <net/xfrm.h> #include <net/inet_common.h> #include <net/inet_common.h> #include <net/dsfield.h> #include <asm/uaccess.h> #include <asm/uaccess.h> Loading Loading @@ -553,6 +554,7 @@ static void icmpv6_echo_reply(struct sk_buff *skb) struct dst_entry *dst; struct dst_entry *dst; int err = 0; int err = 0; int hlimit; int hlimit; u8 tclass; saddr = &ipv6_hdr(skb)->daddr; saddr = &ipv6_hdr(skb)->daddr; Loading Loading @@ -603,8 +605,9 @@ static void icmpv6_echo_reply(struct sk_buff *skb) msg.offset = 0; msg.offset = 0; msg.type = ICMPV6_ECHO_REPLY; msg.type = ICMPV6_ECHO_REPLY; tclass = ipv6_get_dsfield(ipv6_hdr(skb)); err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr), err = ip6_append_data(sk, icmpv6_getfrag, &msg, skb->len + sizeof(struct icmp6hdr), sizeof(struct icmp6hdr), hlimit, np->tclass, NULL, &fl6, sizeof(struct icmp6hdr), hlimit, tclass, NULL, &fl6, (struct rt6_info *)dst, MSG_DONTWAIT, (struct rt6_info *)dst, MSG_DONTWAIT, np->dontfrag); np->dontfrag); Loading