[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB3PR05MB07641B3E085814C60BC60D64ACCD0@DB3PR05MB0764.eurprd05.prod.outlook.com>
Date: Mon, 26 Sep 2016 07:01:02 +0000
From: Yotam Gigi <yotamg@...lanox.com>
To: Jamal Hadi Salim <jhs@...atatu.com>,
Yotam Gigi <yotam.gi@...il.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: Jiri Pirko <jiri@...lanox.com>, Elad Raz <eladr@...lanox.com>,
mlxsw <mlxsw@...lanox.com>, Roman Mashak <mrv@...atatu.com>
Subject: RE: [PATCH net v2 0/2] Fix tc-ife bugs
>-----Original Message-----
>From: Jamal Hadi Salim [mailto:jhs@...atatu.com]
>Sent: Monday, September 26, 2016 3:47 AM
>To: Yotam Gigi <yotamg@...lanox.com>; Yotam Gigi <yotam.gi@...il.com>;
>davem@...emloft.net; netdev@...r.kernel.org
>Cc: Jiri Pirko <jiri@...lanox.com>; Elad Raz <eladr@...lanox.com>; mlxsw
><mlxsw@...lanox.com>; Roman Mashak <mrv@...atatu.com>
>Subject: Re: [PATCH net v2 0/2] Fix tc-ife bugs
>
>On 16-09-25 07:17 PM, Jamal Hadi Salim wrote:
>[..]
>>> Do you prefer that I will fix the encode side to encode the whole tlv
>>> header
>>> size instead of fixing the decode side?
>>
>> Yes please - Add NLA_HDRLEN to the dlen on the encode you showed above.
OK. Did it and tested it. Everything seems functional.
>>
>
>And the correct commit it fixes is:
>a823f93750e341bc0d6829a00019435b96830fd4
I can't find this commit. Where is it?
Don't you mean that commit: 28a10c426e81afc88514bca8e73affccf850fdf6
with title: "net sched: fix encoding to use real length"?
>
>I removed the padding but also the headerlen when i did
>that. Tested with tc_index which is a u16 was the mistake i made.
>
>cheers,
>jamal
Powered by blists - more mailing lists