[PATCH net v3] netlabel: fix RCU annotation for IPv4 options on socket creation

kernel test robot lkp at intel.com
Tue May 7 21:43:48 UTC 2024


Hi Davide,

kernel test robot noticed the following build errors:

[auto build test ERROR on net/main]

url:    https://github.com/intel-lab-lkp/linux/commits/Davide-Caratti/netlabel-fix-RCU-annotation-for-IPv4-options-on-socket-creation/20240506-184702
base:   net/main
patch link:    https://lore.kernel.org/r/ce1a2b59831d74cf8395501f1138923bb842dbce.1714992251.git.dcaratti%40redhat.com
patch subject: [PATCH net v3] netlabel: fix RCU annotation for IPv4 options on socket creation
config: x86_64-rhel-8.3 (https://download.01.org/0day-ci/archive/20240508/202405080517.oMJNehoP-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240508/202405080517.oMJNehoP-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405080517.oMJNehoP-lkp@intel.com/

All errors (new ones prefixed by >>):

   ld: vmlinux.o: in function `lockdep_sock_is_held':
>> include/net/sock.h:1665:(.text+0xfe52da): undefined reference to `lockdep_is_held'
>> ld: include/net/sock.h:1666:(.text+0xfe5306): undefined reference to `lockdep_is_held'


vim +1665 include/net/sock.h

ed07536ed67317 Peter Zijlstra       2006-12-06  1662  
05b93801a23c21 Matthew Wilcox       2018-01-17  1663  static inline bool lockdep_sock_is_held(const struct sock *sk)
1e1d04e678cf72 Hannes Frederic Sowa 2016-04-05  1664  {
1e1d04e678cf72 Hannes Frederic Sowa 2016-04-05 @1665  	return lockdep_is_held(&sk->sk_lock) ||
1e1d04e678cf72 Hannes Frederic Sowa 2016-04-05 @1666  	       lockdep_is_held(&sk->sk_lock.slock);
1e1d04e678cf72 Hannes Frederic Sowa 2016-04-05  1667  }
1e1d04e678cf72 Hannes Frederic Sowa 2016-04-05  1668  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki



More information about the Linux-security-module-archive mailing list