On Mon, Aug 7, 2017 at 10:17 AM, Cong Wang <xiyou.wangc...@gmail.com> wrote: > Unless I miss any other code path, pptp_exit_module() is > problematic too, I don't think it can just vfree() the whole thing. >
This path should be fine, because: 1. sock holds a refcnt to module via proto->owner 2. gre_del_protocol() already waits for readers