[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHA+R7ODAwfsZaOjsf6Ti8zcY1x4iGeNfwXZAP-9=XqycqScRA@mail.gmail.com>
Date: Wed, 19 Nov 2014 14:56:59 -0800
From: Cong Wang <cwang@...pensource.com>
To: Wengang <wen.gang.wang@...cle.com>
Cc: Eric Dumazet <eric.dumazet@...il.com>,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH] bonding: clear header_ops when last slave detached (v2)
On Wed, Nov 19, 2014 at 2:26 PM, Cong Wang <cwang@...pensource.com> wrote:
> On Tue, Nov 18, 2014 at 11:00 PM, Wengang <wen.gang.wang@...cle.com> wrote:
>>
>> Yes, that's true. So the simplest way is move ipoib_header_ops to vmlinux.
>>
>
> That is not an option. Perhaps you need RCU to protect the dev->header_ops
> pointer.
Or maybe take a refcount of that module.
BTW, why this is a problem only for bonding? Doesn't neigh have the
same bug? Or it takes the module refcount somewhere I don't find?
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists