On 12.01.21 01:17, Cong Wang wrote:
On Mon, Jan 11, 2021 at 11:33 AM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:Looks like a AF_CAN socket: r0 = socket(0x1d, 0x2, 0x6) getsockname$packet(r0, &(0x7f0000000100)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000000)=0x14)Right, it seems we need a memset(0) in isotp_getname().
Yes m( Sent a patch to fix it: https://lore.kernel.org/linux-can/20210112090457.11262-1-socketcan@xxxxxxxxxxxx/T/#u Many thanks! Oliver