Subject: Re: [PATCH 1/2] updates for [nf|ct]netlink and event API

From: Patrick McHardy <[email-masked]>
Date: Thu, 30 Jun 2005 23:26:12 +0200

Thomas Graf wrote:
> * Patrick McHardy <[email-masked]> 2005-06-30 15:27
>
>>I think for nested attributes error handling should happen on the
>>outer level. Just trimming on the inner level would leave a
>>half-finished nested attribute.
> 
> I can agree with this, the question that remains is: do we want
> to trim in functions where no nesting is done at all? i.e. things
> like the generic network statistics dumping interface.

Trimming isn't required in this case since the length is know and
checked in advance. An error should still be propagated back of
course so potential outer levels can do trimming.

Regards
Patrick