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.


And the correct commit it fixes is:
a823f93750e341bc0d6829a00019435b96830fd4

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

Reply via email to