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: <202210210016.fJ9nAw0R-lkp@intel.com>
Date:   Fri, 21 Oct 2022 00:24:34 +0800
From:   kernel test robot <lkp@...el.com>
To:     David Howells <dhowells@...hat.com>
Cc:     kbuild-all@...ts.01.org, Ammar Faizi <ammarfaizi2@...weeb.org>,
        GNU/Weeb Mailing List <gwml@...r.gnuweeb.org>,
        linux-kernel@...r.kernel.org
Subject: [ammarfaizi2-block:dhowells/linux-fs/rxrpc-ringless-5 46/51]
 net/rxrpc/local_object.c:405:33: error: 'struct rxrpc_local' has no member
 named 'rx_delay_queue'

tree:   https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/rxrpc-ringless-5
head:   98e99c48f85df5fef7304b8d1879e831f742651e
commit: 7a031bf9c803531e05b28c36d36a816fea68b908 [46/51] rxrpc: Allow a delay to be injected into packet reception
config: i386-randconfig-a005
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/ammarfaizi2/linux-block/commit/7a031bf9c803531e05b28c36d36a816fea68b908
        git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/rxrpc-ringless-5
        git checkout 7a031bf9c803531e05b28c36d36a816fea68b908
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/rxrpc/

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

All errors (new ones prefixed by >>):

   net/rxrpc/local_object.c: In function 'rxrpc_destroy_local':
>> net/rxrpc/local_object.c:405:33: error: 'struct rxrpc_local' has no member named 'rx_delay_queue'
     405 |         rxrpc_purge_queue(&local->rx_delay_queue);
         |                                 ^~


vim +405 net/rxrpc/local_object.c

   370	
   371	/*
   372	 * Destroy a local endpoint's socket and then hand the record to RCU to dispose
   373	 * of.
   374	 *
   375	 * Closing the socket cannot be done from bottom half context or RCU callback
   376	 * context because it might sleep.
   377	 */
   378	void rxrpc_destroy_local(struct rxrpc_local *local)
   379	{
   380		struct socket *socket = local->socket;
   381		struct rxrpc_net *rxnet = local->rxnet;
   382	
   383		_enter("%d", local->debug_id);
   384	
   385		local->dead = true;
   386	
   387		mutex_lock(&rxnet->local_mutex);
   388		hlist_del_init_rcu(&local->link);
   389		mutex_unlock(&rxnet->local_mutex);
   390	
   391		rxrpc_clean_up_local_conns(local);
   392		rxrpc_service_connection_reaper(&rxnet->service_conn_reaper);
   393		ASSERT(!local->service);
   394	
   395		if (socket) {
   396			local->socket = NULL;
   397			kernel_sock_shutdown(socket, SHUT_RDWR);
   398			socket->sk->sk_user_data = NULL;
   399			sock_release(socket);
   400		}
   401	
   402		/* At this point, there should be no more packets coming in to the
   403		 * local endpoint.
   404		 */
 > 405		rxrpc_purge_queue(&local->rx_delay_queue);
   406		rxrpc_purge_queue(&local->rx_queue);
   407	}
   408	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ