Thread (26 messages) 26 messages, 2 authors, 2018-04-16

Re: [PATCH net-next 07/21] net/ipv6: Save route type in rt6_info

From: David Miller <davem@davemloft.net>
Date: 2018-04-16 19:20:37

From: David Ahern <redacted>
Date: Mon, 16 Apr 2018 08:22:41 -0700
quoted hunk ↗ jump to hunk
@@ -2394,6 +2395,7 @@ static void addrconf_add_mroute(struct net_device *dev)
 		.fc_ifindex = dev->ifindex,
 		.fc_dst_len = 8,
 		.fc_flags = RTF_UP,
+		.fc_type = RTN_UNICAST,
 		.fc_nlinfo.nl_net = dev_net(dev),
 	};
 
Multicast route is of type RTN_UNICAST?

All of these cases where passing in a zero initialized value of
fc_type up until this patch.  Perhaps you should discuss that in your
commit message a little bit.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help