include/net/ip6_route.h:88: undefined reference to `ip6_route_output_flags'

From: kbuild test robot
Date: Mon Mar 11 2019 - 02:02:28 EST


Hi Alin,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 12ad143e1b803e541e48b8ba40f550250259ecdd
commit: a3419ce3356cf1fdc69a0524eced84cef730b3bf netfilter: nf_conntrack_sip: add sip_external_media logic
date: 3 weeks ago
config: x86_64-randconfig-m3-201910 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-6) 7.4.0
reproduce:
git checkout a3419ce3356cf1fdc69a0524eced84cef730b3bf
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

ld: net/netfilter/nf_conntrack_sip.o: in function `ip6_route_output':
>> include/net/ip6_route.h:88: undefined reference to `ip6_route_output_flags'

vim +88 include/net/ip6_route.h

33bd5ac5 David Ahern 2018-07-03 74
5c3a0fd7 Joe Perches 2013-09-21 75 void ip6_route_input(struct sk_buff *skb);
d409b847 Mahesh Bandewar 2016-09-16 76 struct dst_entry *ip6_route_input_lookup(struct net *net,
d409b847 Mahesh Bandewar 2016-09-16 77 struct net_device *dev,
b75cc8f9 David Ahern 2018-03-02 78 struct flowi6 *fl6,
b75cc8f9 David Ahern 2018-03-02 79 const struct sk_buff *skb, int flags);
^1da177e Linus Torvalds 2005-04-16 80
6f21c96a Paolo Abeni 2016-01-29 81 struct dst_entry *ip6_route_output_flags(struct net *net, const struct sock *sk,
6f21c96a Paolo Abeni 2016-01-29 82 struct flowi6 *fl6, int flags);
6f21c96a Paolo Abeni 2016-01-29 83
6f21c96a Paolo Abeni 2016-01-29 84 static inline struct dst_entry *ip6_route_output(struct net *net,
6f21c96a Paolo Abeni 2016-01-29 85 const struct sock *sk,
6f21c96a Paolo Abeni 2016-01-29 86 struct flowi6 *fl6)
6f21c96a Paolo Abeni 2016-01-29 87 {
6f21c96a Paolo Abeni 2016-01-29 @88 return ip6_route_output_flags(net, sk, fl6, 0);
6f21c96a Paolo Abeni 2016-01-29 89 }
6f21c96a Paolo Abeni 2016-01-29 90

:::::: The code at line 88 was first introduced by commit
:::::: 6f21c96a78b835259546d8f3fb4edff0f651d478 ipv6: enforce flowi6_oif usage in ip6_dst_lookup_tail()

:::::: TO: Paolo Abeni <pabeni@xxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip