kernel-ark/net/can
Sam Ravnborg 3f91bd420a can: Fix copy_from_user() results interpretation
Both copy_to_ and _from_user return the number of bytes, that failed to
reach their destination, not the 0/-EXXX values.

Based on patch from Pavel Emelyanov <xemul@openvz.org>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-04-27 14:26:51 -07:00
..
af_can.c [NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS. 2008-03-26 04:39:53 +09:00
af_can.h
bcm.c CAN: use hrtimers in can-bcm protocol 2008-04-15 19:29:14 -07:00
Kconfig
Makefile
proc.c
raw.c can: Fix copy_from_user() results interpretation 2008-04-27 14:26:51 -07:00