Re: [PATCH net-next] genetlink: Fix generic netlink family unregister

2016-10-29 Thread David Miller
From: Pravin B Shelar Date: Fri, 28 Oct 2016 16:01:41 -0700 > This patch fixes a typo in unregister operation. > > Following crash is fixed by this patch. It can be easily reproduced > by repeating modprobe and rmmod module that uses genetlink. ... > Fixes: 2ae0f17df1c ("genetlink: use idr to t

Re: [PATCH net-next] genetlink: Fix generic netlink family unregister

2016-10-28 Thread Johannes Berg
On Fri, 2016-10-28 at 16:01 -0700, Pravin B Shelar wrote: > This patch fixes a typo in unregister operation. > > Following crash is fixed by this patch. It can be easily reproduced > by repeating modprobe and rmmod module that uses genetlink. Yikes, I ran all my tests in VMs and forgot this wasn'

[PATCH net-next] genetlink: Fix generic netlink family unregister

2016-10-28 Thread Pravin B Shelar
This patch fixes a typo in unregister operation. Following crash is fixed by this patch. It can be easily reproduced by repeating modprobe and rmmod module that uses genetlink. [ 261.446686] BUG: unable to handle kernel paging request at a0264088 [ 261.448921] IP: [] strcmp+0xe/0x30 [