[ovs-dev] brport_sysfs_ops

Ben Pfaff blp at nicira.com
Thu Sep 2 02:39:23 UTC 2010


On Wed, Sep 1, 2010 at 6:56 PM, Simon Horman <horms at verge.net.au> wrote:
> On Thu, Sep 02, 2010 at 10:07:00AM +0900, Simon Horman wrote:
>> On Wed, Sep 01, 2010 at 11:48:54AM -0700, Jesse Gross wrote:
>> > This patch looks good but I think we can go a step farther.  There's a
>> > bunch of kobj stuff that is sprinkled around that was only used by
>> > sysfs.  I would be tempted to remove it now that we no longer need it.
>>
>> I was wondering about that, I'll remove it.
>
> The following patch seems to do the trick.
> It applies on top of the previous sysfs removal patch.

This deletes the kobject_put() calls but I don't see where it adds any
corresponding kfree() calls, so I think that it causes a memory leak.




More information about the dev mailing list