Subject: Re: [PATCH] can: Use correct type in sizeof() in nla_put()

From: Marek Vasut <[email-masked]>
Date: Fri, 30 Oct 2015 15:01:28 +0100

On Friday, October 30, 2015 at 02:40:26 PM, Marc Kleine-Budde wrote:
> On 10/30/2015 01:48 PM, Marek Vasut wrote:
> > The sizeof() is invoked on an incorrect variable, likely due to some
> > copy-paste error, and this might result in memory corruption. Fix this.
> > 
> > Signed-off-by: Marek Vasut <[email-masked]>
> > Cc: Wolfgang Grandegger <[email-masked]>
> > Cc: Marc Kleine-Budde <[email-masked]>
> > Cc: [email-masked]
> 
> Applies to can and added stable on Cc.

Are you absolutelly positive this doesn't break kernel ABI please ?

I am a little worried there, since the size of can_clock and can_ctrlmode
structures differ.

Best regards,
Marek Vasut