Re: [PATCH net-next v2] net: sched: action_ife: take reference to meta module

2018-09-04 Thread David Miller
From: Vlad Buslov Date: Tue, 4 Sep 2018 00:44:42 +0300 > Recent refactoring of add_metainfo() caused use_all_metadata() to add > metainfo to ife action metalist without taking reference to module. This > causes warning in module_put called from ife action cleanup function. > > Implement add_met

Re: [PATCH net-next v2] net: sched: action_ife: take reference to meta module

2018-09-04 Thread Cong Wang
On Mon, Sep 3, 2018 at 2:44 PM Vlad Buslov wrote: > > Recent refactoring of add_metainfo() caused use_all_metadata() to add > metainfo to ife action metalist without taking reference to module. This > causes warning in module_put called from ife action cleanup function. > > Implement add_metainfo_

[PATCH net-next v2] net: sched: action_ife: take reference to meta module

2018-09-03 Thread Vlad Buslov
Recent refactoring of add_metainfo() caused use_all_metadata() to add metainfo to ife action metalist without taking reference to module. This causes warning in module_put called from ife action cleanup function. Implement add_metainfo_and_get_ops() function that returns with reference to module t