OSDN Git Service

ipv6: add ipv6_dev_find()
authorXin Long <lucien.xin@gmail.com>
Mon, 3 Aug 2020 15:34:46 +0000 (23:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Aug 2020 19:19:52 +0000 (12:19 -0700)
commit81f6cb31222d286dab65579d61f96664eeb99e0b
tree8f174a5e0f306a98759239c9aab941206c420ff2
parent5845589ed652da9b65833044bd2d0bcb1d676ed0
ipv6: add ipv6_dev_find()

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 <lucien.xin@gmail.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/addrconf.h
net/ipv6/addrconf.c