Re: [PATCH 5/5] nbd: Use lock_sock_try() for TCP sendmsg() and shutdown().
From: Kuniyuki Iwashima <kuniyu@google.com>
Date: 2026-03-26 19:38:44
Also in:
linux-block, llvm, oe-kbuild-all
On Thu, Mar 26, 2026 at 12:14 PM kernel test robot [off-list ref] wrote:
Hi Kuniyuki, kernel test robot noticed the following build errors: [auto build test ERROR on axboe/for-next] [also build test ERROR on linus/master v7.0-rc5] [cannot apply to next-20260325] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Kuniyuki-Iwashima/nbd-Remove-redundant-sock-ops-shutdown-check-in-nbd_get_socket/20260325-175457 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git for-next patch link: https://lore.kernel.org/r/20260325063843.1790782-6-kuniyu%40google.com patch subject: [PATCH 5/5] nbd: Use lock_sock_try() for TCP sendmsg() and shutdown(). config: x86_64-buildonly-randconfig-004-20260326 (https://download.01.org/0day-ci/archive/20260327/202603270301.kJulQgkT-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260327/202603270301.kJulQgkT-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 [off-list ref] | Closes: https://lore.kernel.org/oe-kbuild-all/202603270301.kJulQgkT-lkp@intel.com/ (local) All errors (new ones prefixed by >>):quoted
quoted
ld.lld: error: undefined symbol: inet_shutdown_locked>>> referenced by nbd.c >>> drivers/block/nbd.o:(nbd_mark_nsock_dead) in archive vmlinux.a --quoted
quoted
ld.lld: error: undefined symbol: tcp_sendmsg_locked>>> referenced by nbd.c >>> drivers/block/nbd.o:(__sock_xmit) in archive vmlinux.a
ah, CONFIG_INET=n. Will fix it in v2. Thanks