[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAM_iQpUv9_1Y6hHd-R8KqzSP4G4+96FrrCQm7WeQACv+uHCW_Q@mail.gmail.com>
Date: Mon, 7 Aug 2017 10:34:34 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Gao Feng <gfree.wind@....163.com>
Cc: xeb@...l.ru, David Miller <davem@...emloft.net>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: Re: [PATCH net] ppp: Fix a scheduling-while-atomic bug in del_chan
On Mon, Aug 7, 2017 at 10:17 AM, Cong Wang <xiyou.wangcong@...il.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
Powered by blists - more mailing lists