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]
Date:   Sat, 30 Oct 2021 04:32:34 +0800
From:   kernel test robot <lkp@...el.com>
To:     Vladimir Oltean <vladimir.oltean@....com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Jakub Kicinski <kuba@...nel.org>
Subject: [jpirko-mlxsw:combined_queue 1866/1919] net/bridge/br_mdb.c:564:
 undefined reference to `br_switchdev_mdb_notify'

tree:   https://github.com/jpirko/linux_mlxsw combined_queue
head:   cc90b1ce366c29e26c7b67e86a3f87ec1500fc1f
commit: 9776457c784f6549d43f80eb96d4122b51558258 [1866/1919] net: bridge: mdb: move all switchdev logic to br_switchdev.c
config: i386-randconfig-a003-20211028 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/jpirko/linux_mlxsw/commit/9776457c784f6549d43f80eb96d4122b51558258
        git remote add jpirko-mlxsw https://github.com/jpirko/linux_mlxsw
        git fetch --no-tags jpirko-mlxsw combined_queue
        git checkout 9776457c784f6549d43f80eb96d4122b51558258
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   ld: net/bridge/br_mdb.o: in function `br_mdb_notify':
>> net/bridge/br_mdb.c:564: undefined reference to `br_switchdev_mdb_notify'


vim +564 net/bridge/br_mdb.c

37a393bc4932d7 Cong Wang           2012-12-11  554  
9ae9ff994b0e42 Vladimir Oltean     2021-10-27  555  void br_mdb_notify(struct net_device *dev,
9ae9ff994b0e42 Vladimir Oltean     2021-10-27  556  		   struct net_bridge_mdb_entry *mp,
9ae9ff994b0e42 Vladimir Oltean     2021-10-27  557  		   struct net_bridge_port_group *pg,
9ae9ff994b0e42 Vladimir Oltean     2021-10-27  558  		   int type)
9ae9ff994b0e42 Vladimir Oltean     2021-10-27  559  {
9ae9ff994b0e42 Vladimir Oltean     2021-10-27  560  	struct net *net = dev_net(dev);
9ae9ff994b0e42 Vladimir Oltean     2021-10-27  561  	struct sk_buff *skb;
9ae9ff994b0e42 Vladimir Oltean     2021-10-27  562  	int err = -ENOBUFS;
9ae9ff994b0e42 Vladimir Oltean     2021-10-27  563  
9ae9ff994b0e42 Vladimir Oltean     2021-10-27 @564  	br_switchdev_mdb_notify(dev, mp, pg, type);
9ae9ff994b0e42 Vladimir Oltean     2021-10-27  565  
81f1983852fd1f Nikolay Aleksandrov 2020-09-07  566  	skb = nlmsg_new(rtnl_mdb_nlmsg_size(pg), GFP_ATOMIC);
37a393bc4932d7 Cong Wang           2012-12-11  567  	if (!skb)
37a393bc4932d7 Cong Wang           2012-12-11  568  		goto errout;
37a393bc4932d7 Cong Wang           2012-12-11  569  
81f1983852fd1f Nikolay Aleksandrov 2020-09-07  570  	err = nlmsg_populate_mdb_fill(skb, dev, mp, pg, type);
37a393bc4932d7 Cong Wang           2012-12-11  571  	if (err < 0) {
37a393bc4932d7 Cong Wang           2012-12-11  572  		kfree_skb(skb);
37a393bc4932d7 Cong Wang           2012-12-11  573  		goto errout;
37a393bc4932d7 Cong Wang           2012-12-11  574  	}
37a393bc4932d7 Cong Wang           2012-12-11  575  
37a393bc4932d7 Cong Wang           2012-12-11  576  	rtnl_notify(skb, net, 0, RTNLGRP_MDB, NULL, GFP_ATOMIC);
37a393bc4932d7 Cong Wang           2012-12-11  577  	return;
37a393bc4932d7 Cong Wang           2012-12-11  578  errout:
37a393bc4932d7 Cong Wang           2012-12-11  579  	rtnl_set_sk_err(net, RTNLGRP_MDB, err);
37a393bc4932d7 Cong Wang           2012-12-11  580  }
37a393bc4932d7 Cong Wang           2012-12-11  581  

:::::: The code at line 564 was first introduced by commit
:::::: 9ae9ff994b0e42eefcc33f8adda1ec498f79338e net: bridge: split out the switchdev portion of br_mdb_notify

:::::: TO: Vladimir Oltean <vladimir.oltean@....com>
:::::: CC: Jakub Kicinski <kuba@...nel.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (37101 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ