On Fri, Sep 28, 2018 at 9:47 PM Cong Wang <xiyou.wangc...@gmail.com> wrote: > > Just FYI, the crash is fixed, but another RCU warning pops up after > my fix. So I am still debugging it, it is related to the kfree_rcu() in > tcf_chain_destroy().
Update: I tried very hard to make it working, the end result is ugly, as I have to play with refcnt==1. I don't like it either. So, I am thinking about to just convert the idrinfo->lock from a spinlock to a mutex, which could save us a lot of troubles here.