[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <486BCCA0.9040006@hartkopp.net>
Date: Wed, 02 Jul 2008 20:44:48 +0200
From: Oliver Hartkopp <oliver@...tkopp.net>
To: David Miller <davem@...emloft.net>
CC: Urs Thuermann <urs.thuermann@...kswagen.de>,
Oliver Hartkopp <oliver.hartkopp@...kswagen.de>,
Andre Naujoks <nautsch@...il.com>,
Linux Netdev List <netdev@...r.kernel.org>, stable@...nel.org
Subject: can: add sanity checks
Even though the CAN netlayer only deals with CAN netdevices, the
netlayer interface to the userspace and to the device layer should
perform some sanity checks.
This patch adds several sanity checks that mainly prevent userspace apps
to send broken content into the system that may be misinterpreted by
some other userspace application.
Signed-off-by: Oliver Hartkopp <oliver.hartkopp@...kswagen.de>
Signed-off-by: Urs Thuermann <urs.thuermann@...kswagen.de>
Acked-by: Andre Naujoks <nautsch@...il.com>
---
Hello Dave,
please consider this patch for 2.6.26. It adds several sanity checks
that turned out to be necessary. I'll additionally cook a patch for
-stable .25 .
Thanks to Andre Naujoks who accidentally built a really broken userspace
app :-]
Thanks & best regards,
Oliver
View attachment "can-sanity-checks.patch" of type "text/x-diff" (3875 bytes)
Powered by blists - more mailing lists