Re: [PATCH net-next] bonding: use kobject_put instead of _del after kobject_add
From: David Miller <davem@davemloft.net>
Date: 2014-07-31 00:37:44
From: David Miller <davem@davemloft.net>
Date: 2014-07-31 00:37:44
From: Veaceslav Falico <redacted> Date: Tue, 29 Jul 2014 13:27:43 +0200
Otherwise the name of the kobject isn't getting freed and other stuff from kobject_cleanup() isn't getting called. kobject_put() will call kobject_del() on its own in kobject_cleanup(). CC: Jay Vosburgh <redacted> CC: Andy Gospodarek <andy@greyhouse.net> Signed-off-by: Veaceslav Falico <redacted>
Introduced in v3.14, so maybe steer this to 'net' instead?