linux/drivers/net/can
Wolfgang Grandegger a3a4bfde8a mscan: too much data copied to CAN frame due to 16 bit accesses
Due to the 16 bit access to mscan registers there's too much data copied to
the zero initialized CAN frame when having an odd number of bytes to copy.
This patch ensures that only the requested bytes are copied by using an
8 bit access for the remaining byte.

Reported-by: Andre Naujoks <nautsch@gmail.com>
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-10 14:31:00 -04:00
..
c_can can: c_can: remove duplicated #include 2011-07-23 20:01:15 -07:00
mscan mscan: too much data copied to CAN frame due to 16 bit accesses 2011-10-10 14:31:00 -04:00
sja1000 drivers/net/can/sja1000/plx_pci.c: eliminate double free 2011-08-13 18:00:32 -07:00
softing Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
usb Fix common misspellings 2011-03-31 11:26:23 -03:00
at91_can.c can: at91_can: add support for the AT91SAM9X5 SOCs 2011-06-06 14:50:57 +02:00
bfin_can.c can: bfin_can: auto-calculate accessor sizes 2011-06-27 20:42:24 -07:00
dev.c can: make function can_get_bittiming static 2011-07-21 20:39:47 -07:00
flexcan.c drivers/net/can/flexcan.c: add missing clk_put 2011-06-02 00:10:01 -07:00
janz-ican3.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
Kconfig Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-07-05 23:23:37 -07:00
Makefile can: c_can: Added support for Bosch C_CAN controller 2011-02-13 22:51:44 -08:00
mcp251x.c can: mcp251x: Allow pass IRQ flags through platform data. 2011-04-06 12:24:26 -07:00
pch_can.c treewide: fix a few typos in comments 2011-05-10 10:16:21 +02:00
slcan.c slcan: ldisc generated skbs are received in softirq context 2011-08-11 05:52:57 -07:00
ti_hecc.c can: ti_hecc: include linux/io.h 2011-09-16 19:21:27 -04:00
vcan.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00