Embedding the scope ID is no longer needed for IPv6.
Sponsored by: Mellanox Technologies
This commit is contained in:
parent
e02ecc60b8
commit
526f596179
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/bsd_rdma_4_9/; revision=323650
@ -1286,9 +1286,6 @@ static bool validate_ipv6_net_dev(struct net_device *net_dev,
|
||||
struct rtentry *rte;
|
||||
bool ret;
|
||||
|
||||
/* embed scope ID */
|
||||
in6_addr.s6_addr[3] = src_addr->sin6_scope_id;
|
||||
|
||||
src_dev = ip6_dev_find(net_dev->if_vnet, in6_addr);
|
||||
if (src_dev != net_dev)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user