Skip to contentSkip to conversation

ipv6: fix the debug information in icmpv6_route_lookup

PATCH In review [email protected] 2 participants 3 messages Jul 11, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ipv6: fix the debug information in icmpv6_route_lookup

From: Li RongQing <[email protected]>

it should be "anycast destination", not "anycast source"

---
 net/ipv6/icmp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/icmp.c +1 -1
index f6c84a6..481fd5a 100644
@@ -334,7 +334,7 @@ static struct dst_entry *icmpv6_route_lookup(struct net *net,
 	 * anycast.
 	 */
 	if (((struct rt6_info *)dst)->rt6i_flags & RTF_ANYCAST) {
-		LIMIT_NETDEBUG(KERN_DEBUG "icmp6_send: acast source\n");
+		LIMIT_NETDEBUG(KERN_DEBUG "icmp6_send: acast destination\n");
 		dst_release(dst);
 		return ERR_PTR(-EINVAL);
 	}
Signature · 1 line
1.7.10.4
#1 lore raw

Hi,

Quoted 15 lines · [email protected] wrote:

From: Li RongQing <[email protected]>

it should be "anycast destination", not "anycast source"

---
  net/ipv6/icmp.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/icmp.c +0 -0
index f6c84a6..481fd5a 100644

net/ipv6/icmp.c static struct dst_entry *icmpv6_route_lookup(struct net *net, · line 340

Quoted 8 lines
net/ipv6/icmp.c +1 -1
@@ -334,7 +334,7 @@ static struct dst_entry *icmpv6_route_lookup(struct net *net,
  	 * anycast.
  	 */
  	if (((struct rt6_info *)dst)->rt6i_flags & RTF_ANYCAST) {
-		LIMIT_NETDEBUG(KERN_DEBUG "icmp6_send: acast source\n");
+		LIMIT_NETDEBUG(KERN_DEBUG "icmp6_send: acast destination\n");
  		dst_release(dst);
  		return ERR_PTR(-EINVAL);
  	}

No.
It is used by icmp6_send() and it means icmp6_send() won't send back to the original "anycast" source addresses.

--yoshfuji

#2 lore raw
Quoted 3 lines · YOSHIFUJI Hideaki

No.
It is used by icmp6_send() and it means icmp6_send() won't send back to the original "anycast" source addresses.

Ok, thanks