lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201508280339.2r4vft6o%fengguang.wu@intel.com>
Date:	Fri, 28 Aug 2015 03:13:41 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	Joe Stringer <joestringer@...ira.com>
Cc:	kbuild-all@...org, Justin Pettit <jpettit@...ira.com>,
	Andy Zhou <azhou@...ira.com>, netdev@...r.kernel.org
Subject: [net-next:master 1369/1375] net/openvswitch/actions.c:705:16: error:
 implicit declaration of function 'nf_get_ipv6_ops'

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   21c721fd0b991b1871ea5dd517be1b5375c5f8f7
commit: 7f8a436eaa2c3ddd8e1ff2fbca267e6275085536 [1369/1375] openvswitch: Add conntrack action
config: i386-randconfig-i0-201534 (attached as .config)
reproduce:
  git checkout 7f8a436eaa2c3ddd8e1ff2fbca267e6275085536
  # save the attached .config to linux build tree
  make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   net/openvswitch/actions.c: In function 'ovs_fragment':
>> net/openvswitch/actions.c:705:16: error: implicit declaration of function 'nf_get_ipv6_ops' [-Werror=implicit-function-declaration]
      const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops();
                   ^
>> net/openvswitch/actions.c:705:37: warning: initialization makes pointer from integer without a cast
      const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops();
                                        ^
>> net/openvswitch/actions.c:707:19: error: storage size of 'ovs_rt' isn't known
      struct rt6_info ovs_rt;
                      ^
>> net/openvswitch/actions.c:724:8: error: dereferencing pointer to incomplete type
      v6ops->fragment(skb->sk, skb, ovs_vport_output);
           ^
>> net/openvswitch/actions.c:707:19: warning: unused variable 'ovs_rt' [-Wunused-variable]
      struct rt6_info ovs_rt;
                      ^
   cc1: some warnings being treated as errors

vim +/nf_get_ipv6_ops +705 net/openvswitch/actions.c

   699			skb_dst_set_noref(skb, &ovs_dst);
   700			IPCB(skb)->frag_max_size = mru;
   701	
   702			ip_do_fragment(skb->sk, skb, ovs_vport_output);
   703			refdst_drop(orig_dst);
   704		} else if (ethertype == htons(ETH_P_IPV6)) {
 > 705			const struct nf_ipv6_ops *v6ops = nf_get_ipv6_ops();
   706			unsigned long orig_dst;
 > 707			struct rt6_info ovs_rt;
   708	
   709			if (!v6ops) {
   710				kfree_skb(skb);
   711				return;
   712			}
   713	
   714			prepare_frag(vport, skb);
   715			memset(&ovs_rt, 0, sizeof(ovs_rt));
   716			dst_init(&ovs_rt.dst, &ovs_dst_ops, NULL, 1,
   717				 DST_OBSOLETE_NONE, DST_NOCOUNT);
   718			ovs_rt.dst.dev = vport->dev;
   719	
   720			orig_dst = skb->_skb_refdst;
   721			skb_dst_set_noref(skb, &ovs_rt.dst);
   722			IP6CB(skb)->frag_max_size = mru;
   723	
 > 724			v6ops->fragment(skb->sk, skb, ovs_vport_output);
   725			refdst_drop(orig_dst);
   726		} else {
   727			WARN_ONCE(1, "Failed fragment ->%s: eth=%04x, MRU=%d, MTU=%d.",

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

View attachment ".config" of type "text/plain" (93143 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ