Hi Dave,

On 08/11/17 02:52 PM, Dave Jones wrote:
> kernel BUG at ./include/linux/scatterlist.h:189!
> invalid opcode: 0000 [#1] SMP KASAN

...

> Call Trace:
>  ? copy_page_to_iter+0x6c0/0x6c0
>  tls_sw_sendmsg+0x6d8/0x9c0
>  ? alloc_sg+0x510/0x510
>  ? cyc2ns_read_end+0x10/0x10
>  ? import_iovec+0xa8/0x1f0
>  ? do_syscall_64+0x1bc/0x3e0
>  ? entry_SYSCALL64_slow_path+0x25/0x25
>  inet_sendmsg+0xce/0x310

...

> 186 static inline void sg_mark_end(struct scatterlist *sg)
> 187 {
> 188 #ifdef CONFIG_DEBUG_SG
> 189         BUG_ON(sg->sg_magic != SG_MAGIC);
> 190 #endif

+added mellanox folks

I haven't seen this one yet.  The specific sequence of
sendmsg/sendpage calls would probably be super helpful to nail it down

Thanks

Reply via email to