aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/af_inet6.c
diff options
context:
space:
mode:
authorAndreas Roeseler <andreas.a.roeseler@gmail.com>2021-03-29 18:45:43 -0700
committerDavid S. Miller <davem@davemloft.net>2021-03-30 13:29:39 -0700
commit504a40113cc4f329dd75bbf6e4b060603224d814 (patch)
treef05e2c6dfa70d65c1726b87278a42f1ce0e8e935 /net/ipv6/af_inet6.c
parentnet: add support for sending RFC 8335 PROBE messages (diff)
downloadlinux-stable-504a40113cc4f329dd75bbf6e4b060603224d814.tar.xz
linux-stable-504a40113cc4f329dd75bbf6e4b060603224d814.zip
ipv6: add ipv6_dev_find to stubs
Add ipv6_dev_find to ipv6_stub to allow lookup of net_devices by IPV6 address in net/ipv4/icmp.c. Signed-off-by: Andreas Roeseler <andreas.a.roeseler@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/af_inet6.c')
-rw-r--r--net/ipv6/af_inet6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/af_inet6.c b/net/ipv6/af_inet6.c
index 3c9bacffc9c3..4f7ca5807046 100644
--- a/net/ipv6/af_inet6.c
+++ b/net/ipv6/af_inet6.c
@@ -1032,6 +1032,7 @@ static const struct ipv6_stub ipv6_stub_impl = {
#endif
.nd_tbl = &nd_tbl,
.ipv6_fragment = ip6_fragment,
+ .ipv6_dev_find = ipv6_dev_find,
};
static const struct ipv6_bpf_stub ipv6_bpf_stub_impl = {