Re: [PATCH net-next 1/2] tcp: Destroy TCP-AO, TCP-MD5 keys in .sk_destruct()
From: kernel test robot
Date: Fri Aug 22 2025 - 15:24:48 EST
Hi Dmitry,
kernel test robot noticed the following build warnings:
[auto build test WARNING on a7bd72158063740212344fad5d99dcef45bc70d6]
url: https://github.com/intel-lab-lkp/linux/commits/Dmitry-Safonov-via-B4-Relay/tcp-Destroy-TCP-AO-TCP-MD5-keys-in-sk_destruct/20250822-125815
base: a7bd72158063740212344fad5d99dcef45bc70d6
patch link: https://lore.kernel.org/r/20250822-b4-tcp-ao-md5-rst-finwait2-v1-1-25825d085dcb%40arista.com
patch subject: [PATCH net-next 1/2] tcp: Destroy TCP-AO, TCP-MD5 keys in .sk_destruct()
config: x86_64-buildonly-randconfig-001-20250823 (https://download.01.org/0day-ci/archive/20250823/202508230331.PEHBlmSk-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250823/202508230331.PEHBlmSk-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508230331.PEHBlmSk-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
net/ipv4/tcp.c: In function 'tcp_destruct_sock':
>> net/ipv4/tcp.c:429:26: warning: unused variable 'tp' [-Wunused-variable]
429 | struct tcp_sock *tp = tcp_sk(sk);
| ^~
vim +/tp +429 net/ipv4/tcp.c
426
427 static void tcp_destruct_sock(struct sock *sk)
428 {
> 429 struct tcp_sock *tp = tcp_sk(sk);
430
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki