Re: [PATCH] macvtap: Destroy minor_idr on module_exit

2015-07-09 Thread David Miller
From: Johannes Thumshirn jthumsh...@suse.de Date: Wed, 8 Jul 2015 17:16:49 +0200 Destroy minor_idr on module_exit, reclaiming the allocated memory. This was detected by the following semantic patch (written by Luis Rodriguez mcg...@suse.com) ... Signed-off-by: Johannes Thumshirn

[PATCH] macvtap: Destroy minor_idr on module_exit

2015-07-08 Thread Johannes Thumshirn
Destroy minor_idr on module_exit, reclaiming the allocated memory. This was detected by the following semantic patch (written by Luis Rodriguez mcg...@suse.com) SmPL @ defines_module_init @ declarer name module_init, module_exit; declarer name DEFINE_IDR; identifier init; @@ module_init(init);