[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c67b9fcb-e24d-00d3-13ab-d0f25916ceac@mellanox.com>
Date: Sun, 30 Jun 2019 08:43:58 +0000
From: Paul Blakey <paulb@...lanox.com>
To: David Miller <davem@...emloft.net>
CC: Jiri Pirko <jiri@...lanox.com>, Roi Dayan <roid@...lanox.com>,
Yossi Kuperman <yossiku@...lanox.com>,
Oz Shlomo <ozsh@...lanox.com>,
"marcelo.leitner@...il.com" <marcelo.leitner@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"aconole@...hat.com" <aconole@...hat.com>,
"wangzhike@...com" <wangzhike@...com>,
Rony Efraim <ronye@...lanox.com>,
"nst-kernel@...hat.com" <nst-kernel@...hat.com>,
"john.hurley@...ronome.com" <john.hurley@...ronome.com>,
"simon.horman@...ronome.com" <simon.horman@...ronome.com>,
"jpettit@....org" <jpettit@....org>
Subject: Re: [PATCH net-next v2 1/4] net/sched: Introduce action ct
On 6/27/2019 10:53 PM, David Miller wrote:
> From: Paul Blakey <paulb@...lanox.com>
> Date: Thu, 20 Jun 2019 16:42:18 +0300
>
>> +struct tcf_ct_params {
> ...
>> + struct rcu_head rcu;
>> +
>> +};
> Please get ride of that empty line after the 'rcu' member.
>
>> + switch (skb->protocol) {
>> + case htons(ETH_P_IP):
>> + family = NFPROTO_IPV4;
>> + break;
>> + case htons(ETH_P_IPV6):
>> + family = NFPROTO_IPV6;
>> + break;
>> + default:
>> + break;
> Break statement is not indented properly.
>
>> +static __net_init int ct_init_net(struct net *net)
>> +{
>> + struct tc_ct_action_net *tn = net_generic(net, ct_net_id);
>> + unsigned int n_bits = FIELD_SIZEOF(struct tcf_ct_params, labels) * 8;
> Reverse christmas tree here please.
Sure thanks.
Powered by blists - more mailing lists