[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c3aec20d-359e-ca54-5ab1-bb16c439feb8@ucloud.cn>
Date: Wed, 7 Aug 2019 09:11:15 +0800
From: wenxu <wenxu@...oud.cn>
To: Pablo Neira Ayuso <pablo@...filter.org>
Cc: jakub.kicinski@...ronome.com, jiri@...nulli.us,
netfilter-devel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v6 5/6] flow_offload: support get multi-subsystem
block
在 2019/8/7 0:10, Pablo Neira Ayuso 写道:
>
>>
>> +void flow_indr_add_block_ing_cb(struct flow_indr_block_ing_entry *entry)
>> +{
> ... but registration does not protect the list with a mutex.
>
>> + list_add_tail_rcu(&entry->list, &block_ing_cb_list);
>> +}
>> +EXPORT_SYMBOL_GPL(flow_indr_add_block_ing_cb);
yes, I think the flow_indr_add_block_ing_cb and flow_indr_del_block_ing_cb maybe used for
more subsystem in the future. Both of them should add a mutex lock
Powered by blists - more mailing lists