Re: [syzbot] BUG: sleeping function called from invalid context in smc_pnet_apply_ib

From: syzbot
Date: Wed Feb 23 2022 - 04:06:18 EST


Hello,

syzbot tried to test the proposed patch but the build/boot failed:

net/smc/smc_pnet.h:32:2: error: unknown type name 'mutex'


Tested on:

commit: 5c1ee569 Merge branch 'for-5.17-fixes' of git://git.ke..
git tree: upstream
dashboard link: https://syzkaller.appspot.com/bug?extid=4f322a6d84e991c38775
compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
patch: https://syzkaller.appspot.com/x/patch.diff?x=116231fe700000