[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100811.161248.104043270.davem@davemloft.net>
Date: Wed, 11 Aug 2010 16:12:48 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: socketcan@...tkopp.net
Cc: hawkes@...gle.com, urs.thuermann@...kswagen.de,
netdev@...r.kernel.org
Subject: Re: [PATCH] can: add limit for nframes and clean up
signed/unsigned variables
From: Oliver Hartkopp <socketcan@...tkopp.net>
Date: Wed, 11 Aug 2010 11:44:34 +0200
> This patch adds a limit for nframes as the number of frames in TX_SETUP and
> RX_SETUP are derived from a single byte multiplex value by default.
> Use-cases that would require to send/filter more than 256 CAN frames should
> be implemented in userspace for complexity reasons anyway.
>
> Additionally the assignments of unsigned values from userspace to signed
> values in kernelspace and vice versa are fixed by using unsigned values in
> kernelspace consistently.
>
> Signed-off-by: Oliver Hartkopp <socketcan@...tkopp.net>
> Reported-by: Ben Hawkes <hawkes@...gle.com>
> Acked-by: Urs Thuermann <urs.thuermann@...kswagen.de>
Applied and I'll queue this up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists