WSL2-Linux-Kernel/drivers/net
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
..
appletalk
arcnet
arm NET: am79c961: fix race in link status code 2011-09-05 08:58:29 +01:00
atl1c atl1c: do vlan cleanup 2011-07-21 13:47:54 -07:00
atl1e atl1e: do vlan cleanup 2011-07-21 13:47:54 -07:00
atlx atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
benet be2net: request native mode each time the card is reset 2011-07-21 21:32:54 -07:00
bna bnad: remove duplicated #include 2011-07-23 20:01:15 -07:00
bnx2x bnx2x: fix cl_id allocation for non-eth clients for NPAR mode 2011-10-10 14:21:26 -04:00
bonding bonding: properly stop queuing work when requested 2011-10-03 13:48:20 -04:00
caif
can mscan: too much data copied to CAN frame due to 16 bit accesses 2011-10-10 14:31:00 -04:00
chelsio chelsio: do vlan cleanup 2011-07-21 13:47:54 -07:00
cris
cxgb3 [SCSI] cxgb3i: convert cdev->l2opt to use rcu to prevent NULL dereference 2011-09-26 09:28:01 -05:00
cxgb4 cxgb4: Fix EEH on IBM P7IOC 2011-09-29 00:32:10 -04:00
cxgb4vf cxgb4vf: do vlan cleanup 2011-07-21 13:47:54 -07:00
e1000 e1000: Fix driver to be used on PA RISC C8000 workstations 2011-08-30 20:58:56 -04:00
e1000e e1000e: workaround invalid Tx/Rx tail descriptor register write 2011-08-13 02:15:38 -07:00
ehea ehea: do vlan cleanup 2011-07-21 13:47:53 -07:00
enic enic: do vlan cleanup 2011-07-21 13:47:55 -07:00
fs_enet Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
hamradio atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
ibm_newemac net: ibm_newemac: convert it to use of_get_phy_mode 2011-07-27 09:31:02 +08:00
igb igb: fix WOL on second port of i350 device 2011-08-04 05:01:59 -07:00
igbvf intel drivers: repair missing flush operations 2011-08-04 04:59:07 -07:00
irda net/irda: sh_sir: tidyup compile warning 2011-08-11 05:52:57 -07:00
ixgb intel drivers: repair missing flush operations 2011-08-04 04:59:07 -07:00
ixgbe ixgbe: fix possible null buffer error 2011-09-21 02:14:13 -04:00
ixgbevf ixgbevf: do vlan cleanup 2011-07-21 13:47:56 -07:00
ixp2000
mlx4 mlx4_en: fix endianness with blue frame support 2011-10-10 14:10:37 -04:00
myri10ge
netxen netxen: add fw version compatibility check 2011-07-21 21:32:54 -07:00
octeon
pch_gbe pch_gbe: Fixed the issue on which a network freezes 2011-10-03 14:20:39 -04:00
pcmcia smc91c92_cs.c: fix bogus compiler warning 2011-07-29 18:27:34 +02:00
phy dp83640: reduce driver noise 2011-09-29 00:32:04 -04:00
qlcnic qlcnic: remove usage of vlan_group_get_device 2011-07-21 13:47:57 -07:00
qlge qlge: remove duplicated #include 2011-07-23 20:01:15 -07:00
sfc sfc: Use 64-bit writes for TX push where possible 2011-09-15 17:31:31 -04:00
skfp
stmmac stmmac: unify MAC and PHY configuration parameters (V2) 2011-07-21 15:29:16 -07:00
tile
tokenring
tulip Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-07-21 13:38:42 -07:00
usb ipheth: iPhone 4 Verizon CDMA USB Product ID add 2011-09-15 14:49:44 -04:00
vmxnet3 vmxnet3: Don't enable vlan filters in promiscuous mode. 2011-08-13 18:00:32 -07:00
vxge vxge: do vlan cleanup 2011-07-21 13:47:57 -07:00
wan net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared 2011-07-27 22:39:30 -07:00
wimax atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
wireless Merge branch 'master' of git://git.infradead.org/users/linville/wireless into for-davem 2011-09-27 15:47:33 -04:00
xen-netback net: xen-netback: correctly restart Tx after a VM restore/migrate 2011-10-03 14:15:46 -04:00
3c59x.c
3c501.c
3c501.h
3c503.c
3c503.h
3c505.c
3c505.h
3c507.c
3c509.c
3c515.c
3c523.c
3c523.h
3c527.c
3c527.h
7990.c
7990.h
8139cp.c
8139too.c
8390.c
8390.h
8390p.c
82596.c
Kconfig pch_gbe: support ML7831 IOH 2011-09-15 17:31:45 -04:00
LICENSE.SRC
Makefile Fix cdc-phonet build 2011-07-27 22:39:31 -07:00
Space.c
a2065.c
a2065.h
ac3200.c
acenic.c acenic: use netdev_alloc_skb_ip_align 2011-07-25 16:16:00 -07:00
acenic.h acenic: use netdev_alloc_skb_ip_align 2011-07-25 16:16:00 -07:00
amd8111e.c amd8111e: do vlan cleanup 2011-07-21 13:47:54 -07:00
amd8111e.h amd8111e: do vlan cleanup 2011-07-21 13:47:54 -07:00
apne.c
ariadne.c
ariadne.h
at1700.c
atarilance.c
atp.c
atp.h
au1000_eth.c
au1000_eth.h
ax88796.c
b44.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
b44.h
bcm63xx_enet.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
bcm63xx_enet.h
bfin_mac.c
bfin_mac.h
bmac.c
bmac.h
bnx2.c bnx2: Fix endian swapping on firmware version string 2011-07-21 12:38:32 -07:00
bnx2.h
bnx2_fw.h
bsd_comp.c treewide: fix potentially dangerous trailing ';' in #defined values/expressions 2011-07-21 14:10:00 +02:00
cassini.c cassini: init before use in cas_interruptN. 2011-08-26 12:49:03 -04:00
cassini.h
cnic.c cnic: Add VLAN ID as a parameter during netevent upcall 2011-07-21 12:38:32 -07:00
cnic.h
cnic_defs.h
cnic_if.h cnic: Add VLAN ID as a parameter during netevent upcall 2011-07-21 12:38:32 -07:00
cpmac.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
cs89x0.c
cs89x0.h
davinci_cpdma.c
davinci_cpdma.h
davinci_emac.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
davinci_mdio.c
de600.c
de600.h
de620.c
de620.h
declance.c
defxx.c
defxx.h
depca.c
depca.h
dl2k.c
dl2k.h
dm9000.c
dm9000.h
dnet.c
dnet.h
dummy.c
e100.c
e2100.c
eepro.c
eexpress.c
eexpress.h
enc28j60.c
enc28j60_hw.h
epic100.c
eql.c
es3210.c
eth16i.c
ethoc.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
ewrk3.c
ewrk3.h
fealnx.c
fec.c net/fec: add device tree probe support 2011-07-27 09:31:08 +08:00
fec.h
fec_mpc52xx.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
fec_mpc52xx.h
fec_mpc52xx_phy.c
forcedeth.c forcedeth: call vlan_mode only if hw supports vlans 2011-08-17 23:50:37 -07:00
fsl_pq_mdio.c
fsl_pq_mdio.h
ftgmac100.c
ftgmac100.h
ftmac100.c
ftmac100.h
gianfar.c gianfar: prevent buggy hw rx vlan tagging 2011-08-13 18:00:33 -07:00
gianfar.h gianfar: do vlan cleanup 2011-07-21 13:47:55 -07:00
gianfar_ethtool.c gianfar: Fix overflow check and return value for gfar_get_cls_all() 2011-09-20 15:40:12 -04:00
gianfar_ptp.c gianfar: fix fiper alignment after resetting the time 2011-08-07 22:53:22 -07:00
gianfar_sysfs.c
greth.c GRETH: avoid overwrite IP-stack's IP-frags checksum 2011-09-20 15:16:16 -04:00
greth.h GRETH: RX/TX bytes were never increased 2011-09-20 15:16:16 -04:00
hamachi.c
hp-plus.c
hp.c
hp100.c
hp100.h
hplance.c
hplance.h
hydra.c
ibmlana.c
ibmlana.h
ibmveth.c ibmveth: Fix oops on request_irq failure 2011-09-29 00:32:11 -04:00
ibmveth.h
ifb.c net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared 2011-07-27 22:39:30 -07:00
ioc3-eth.c
ipg.c
ipg.h
iseries_veth.c
jazzsonic.c
jme.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-07-21 20:21:27 -07:00
jme.h jme: do vlan cleanup 2011-07-21 13:47:55 -07:00
korina.c
ks8842.c
ks8851.c
ks8851.h
ks8851_mll.c
ksz884x.c
lance.c
lantiq_etop.c
lasi_82596.c
lib8390.c
lib82596.c
ll_temac.h
ll_temac_main.c
ll_temac_mdio.c
lne390.c
loopback.c
lp486e.c
mac89x0.c
mac8390.c
macb.c macb: restore wrap bit when performing underrun cleanup 2011-08-04 02:04:32 -07:00
macb.h
mace.c
mace.h
macmace.c
macsonic.c
macvlan.c macvlan/macvtap: Fix unicast between macvtap interfaces in bridge mode 2011-10-04 23:31:23 -04:00
macvtap.c
mdio.c
meth.c
meth.h
mii.c
mipsnet.c
mv643xx_eth.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
mvme147.c
natsemi.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
ne-h8300.c
ne.c
ne2.c
ne2k-pci.c
ne3210.c
netconsole.c netconsole: switch init_netconsole() to late_initcall 2011-09-20 15:45:07 -04:00
netx-eth.c
ni52.c
ni52.h
ni65.c
ni65.h
ni5010.c
ni5010.h
niu.c drivers/net/niu.c: adjust array index 2011-08-01 02:27:21 -07:00
niu.h
ns83820.c ns83820: do vlan cleanup 2011-07-21 13:47:56 -07:00
pasemi_mac.c
pasemi_mac.h
pasemi_mac_ethtool.c
pci-skeleton.c
pcnet32.c PCnet: Fix section mismatch 2011-08-11 07:42:45 -07:00
plip.c
ppp_async.c
ppp_deflate.c
ppp_generic.c ppp_generic: fix multilink fragment MTU calculation (again) 2011-09-20 15:20:58 -04:00
ppp_mppe.c
ppp_mppe.h
ppp_synctty.c
pppoe.c
pppox.c
pptp.c
ps3_gelic_net.c
ps3_gelic_net.h
ps3_gelic_wireless.c
ps3_gelic_wireless.h
pxa168_eth.c net: pxa168: Fix build errors by including interrupt.h 2011-09-20 15:47:27 -04:00
qla3xxx.c
qla3xxx.h
r6040.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-07-21 13:38:42 -07:00
r8169.c r8169: do not enable the TBI for anything but the original 8169. 2011-09-17 11:42:21 +02:00
rionet.c rapidio: fix use of non-compatible registers 2011-08-25 16:25:34 -07:00
rrunner.c
rrunner.h
s2io-regs.h
s2io.c s2io: do vlan cleanup 2011-07-21 13:47:55 -07:00
s2io.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
s6gmac.c
sb1000.c
sb1250-mac.c
sc92031.c
seeq8005.c
seeq8005.h
sgiseeq.c
sgiseeq.h
sh_eth.c net: sh_eth: fix the compile error 2011-08-26 12:48:24 -04:00
sh_eth.h
sis190.c sis190: Rx filter init is needed for MAC address change. 2011-07-28 18:11:51 -07:00
sis900.c
sis900.h
skge.c
skge.h
sky2.c
sky2.h
slhc.c
slip.c slip: fix NOHZ local_softirq_pending 08 warning 2011-08-07 22:14:45 -07:00
slip.h slip: remove unused 'line' field from the 'slip' structure 2011-07-19 16:55:42 -07:00
smc-mca.c
smc-ultra.c
smc-ultra32.c
smc91x.c
smc91x.h
smc911x.c
smc911x.h
smc9194.c
smc9194.h
smsc911x.c
smsc911x.h
smsc9420.c
smsc9420.h
sni_82596.c
sonic.c
sonic.h
spider_net.c spider_net: do not mention dying vlan_hwaccel_receive_skb 2011-07-21 13:47:55 -07:00
spider_net.h
spider_net_ethtool.c
starfire.c starfire: do vlan cleanup 2011-07-21 13:47:56 -07:00
stnic.c
sun3_82586.c
sun3_82586.h
sun3lance.c
sunbmac.c
sunbmac.h
sundance.c
sungem.c sungem: fix compile failure caused by trivial #include consolidation 2011-07-29 17:31:16 +02:00
sungem.h
sungem_phy.c
sungem_phy.h
sunhme.c
sunhme.h
sunlance.c
sunqe.c
sunqe.h
sunvnet.c
sunvnet.h
tc35815.c
tehuti.c tehuti: do vlan cleanup 2011-07-21 13:47:55 -07:00
tehuti.h tehuti: do vlan cleanup 2011-07-21 13:47:55 -07:00
tg3.c tg3: fix VLAN tagging regression 2011-09-21 02:14:12 -04:00
tg3.h tg3: Break larger frags into 4k chunks for 5719 2011-07-27 22:39:32 -07:00
tlan.c
tlan.h
tsi108_eth.c
tsi108_eth.h
tun.c net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared 2011-07-27 22:39:30 -07:00
typhoon.c
typhoon.h
ucc_geth.c
ucc_geth.h
ucc_geth_ethtool.c
veth.c net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared 2011-07-27 22:39:30 -07:00
via-rhine.c
via-velocity.c via-velocity: remove non-tagged packet filtering 2011-08-17 20:13:39 -07:00
via-velocity.h via-velocity: do vlan cleanup 2011-07-21 13:47:56 -07:00
virtio_net.c virtio_net: Fix panic in virtnet_remove 2011-07-21 21:29:34 -07:00
wd.c
xen-netfront.c
xilinx_emaclite.c
xtsonic.c
yellowfin.c
znet.c
zorro8390.c