Re: [tipc-discussion] [PATCH net 0/2] net: fix a mcast issue for tipc udp media

2020-08-05 Thread David Miller
From: Xin Long Date: Mon, 3 Aug 2020 23:34:45 +0800 > Patch 1 is to add a function to get the dev by source address, > whcih will be used by Patch 2. Series applied, thank you. ___ tipc-discussion mailing list tipc-discussion@lists.sourceforge.net

Re: [tipc-discussion] [PATCH net 2/2] tipc: set ub->ifindex for local ipv6 address

2020-08-05 Thread Ying Xue
On 8/3/20 11:34 PM, Xin Long wrote: > Without ub->ifindex set for ipv6 address in tipc_udp_enable(), > ipv6_sock_mc_join() may make the wrong dev join the multicast > address in enable_mcast(). This causes that tipc links would > never be created. > > So fix it by getting the right netdev and

Re: [tipc-discussion] [PATCH net 1/2] ipv6: add ipv6_dev_find()

2020-08-05 Thread Ying Xue
On 8/3/20 11:34 PM, Xin Long wrote: > This is to add an ip_dev_find like function for ipv6, used to find > the dev by saddr. > > It will be used by TIPC protocol. So also export it. > > Signed-off-by: Xin Long Acked-by: Ying Xue > --- > include/net/addrconf.h | 2 ++ > net/ipv6/addrconf.c