Re: [PATCH 15/15] staging: unisys: make module unremoveable

2015-07-22 Thread Greg KH
On Tue, Jul 21, 2015 at 09:55:49AM -0400, Benjamin Romer wrote: > From: Neil Horman > > As per the last commit, once a netdevice is registered, theres nothing to > unregister it, even if the module is removed. That's obviously a memory > leak and an easy oops vector. > > Fixing it isn't hard, bu

[PATCH 15/15] staging: unisys: make module unremoveable

2015-07-21 Thread Benjamin Romer
From: Neil Horman As per the last commit, once a netdevice is registered, theres nothing to unregister it, even if the module is removed. That's obviously a memory leak and an easy oops vector. Fixing it isn't hard, but it requires that some additional infrastructure be put in place to handle de