summaryrefslogtreecommitdiffstats
path: root/include/misc
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2020-08-03 23:34:47 +0800
committerDavid S. Miller <davem@davemloft.net>2020-08-05 12:19:52 -0700
commit5a6f6f579178dbeb33002d93b4f646c31348fac9 (patch)
tree6ad38dd8f878d015d35e6785416c4043070a4aec /include/misc
parent81f6cb31222d286dab65579d61f96664eeb99e0b (diff)
tipc: set ub->ifindex for local ipv6 address
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 setting ub->ifindex, as it does for ipv4 address. Reported-by: Shuang Li <shuali@redhat.com> Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Ying Xue <ying.xue@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions