Re: [PATCH] tipc: Disable preemption when calling send_msg method.

2020-05-22 Thread Eric Dumazet
On 5/20/20 4:45 AM, Tetsuo Handa wrote: > syzbot is reporting that tipc_udp_send_msg() is calling dst_cache_get() > without preemption disabled [1]. Since b->media->send_msg() is called > with RCU lock already held, we can also disable preemption at that point. > > [1] > https://syzkaller.apps

[PATCH] tipc: Disable preemption when calling send_msg method.

2020-05-20 Thread Tetsuo Handa
syzbot is reporting that tipc_udp_send_msg() is calling dst_cache_get() without preemption disabled [1]. Since b->media->send_msg() is called with RCU lock already held, we can also disable preemption at that point. [1] https://syzkaller.appspot.com/bug?id=dc6352b92862eb79373fe03fdf9af5928753e057