Xin Long
unread,Mar 2, 2017, 3:06:41 AM3/2/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dmitry Vyukov, Vladislav Yasevich, Neil Horman, David Miller, linux...@vger.kernel.org, netdev, LKML, Marcelo Ricardo Leitner, Eric Dumazet, syzkaller
I think it's safe to use del_timer there, as the timer handler
sctp_generate_timeout_event checks asoc->base.dead under
sock lock to decide if it will call the event handler.
So even if sctp_association_free free the assoc (not destroyed),
another timer handler in other CPU will not crash the kernel.
The issue here is more like asoc's refcnt <=1 already when T1
timer handler was running, somewhere put asoc incorrectly.
Hi Dmitry, do you have reproducer and .config for this ?
Thanks.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to
majo...@vger.kernel.org
> More majordomo info at
http://vger.kernel.org/majordomo-info.html