On Tue, Sep 6, 2016 at 5:11 PM, Eric Dumazet <eric.duma...@gmail.com> wrote:
> On Sun, 2016-09-04 at 13:55 +0300, Hadar Hen Zion wrote:
>> From: Amir Vadai <a...@vadai.me>
>
> ...
>
>> +struct tcf_tunnel_key_params {
>> +     struct rcu_head         rcu;
>> +     int                     tcft_action;
>> +     int                     action;
>> +     struct metadata_dst     *tcft_enc_metadata;
>> +};
>> +
>> +struct tcf_tunnel_key {
>> +     struct tc_action              common;
>> +     struct tcf_tunnel_key_params *params;
>
> In order to please sparse you must add __rcu qualifier, as in :
>
> struct tcf_tunnel_key_params __rcu *params;

Thanks!


>
>> +};
>> +
>
> Thanks.
>
>
>

Reply via email to