An error occurred while fetching folder content.
tun: fix tun_chr_aio_write so that aio works
Michael S. Tsirkin authored
aio_write gets const struct iovec * but tun_chr_aio_write casts this to struct
iovec * and modifies the iovec. As a result, attempts to use io_submit
to send packets to a tun device fail with weird errors such as EINVAL.

Since tun is the only user of skb_copy_datagram_from_iovec, we can
fix this simply by changing the later so that it does not
touch the iovec passed to it.
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
6f26c9a7
Name Last commit Last update
..
amba Don't include linux/config.h from anywhere else in include/
byteorder byteorder: only use linux/swab.h
can headers_check fix: can/bcm.h
decompress bzip2/lzma: centralize format detection
dvb make most exported headers use strict integer types
hdlc [PATCH] Modularize generic HDLC
i2c i2c: xtensa s6000 i2c driver
isdn make drivers/isdn/capi/capiutil.c:cdebbuf_alloc() static
lockd nfs: replace uses of __constant_{endian}
mfd Merge git://git.infradead.org/battery-2.6
mlx4 mlx4_core: Add link type autosensing
mmc MMC: regulator utilities
mtd [MTD] [NAND] Add support for 4KiB pages.
netfilter Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/kaber/nf-next-2.6
netfilter_arp netfilter: Move linux/types.h inclusions outside of #ifdef __KERNEL__
netfilter_bridge netfilter: netns ebtables: part 2
netfilter_ipv4 make exported headers use strict posix types
netfilter_ipv6 Merge branch 'header-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
nfsd nfsd41: define nfsd4_set_statp as noop for !CONFIG_NFSD_V4
raid md/raid6: move raid6 data processing to raid6_pq.ko
regulator regulator: Support disabling of unused regulators by machines
rtc rtc-m48t59: allow externally mapped ioaddr
spi Merge branch 'next' into for-linus
ssb ssb: Add SPROM fallback support
sunrpc Merge branch 'for-2.6.30' of git://linux-nfs.org/~bfields/linux
tc_act
tc_ematch
unaligned
usb
uwb
wimax
8250_pci.h
Kbuild
a.out.h
ac97_codec.h
acct.h
acpi.h
acpi_pmtmr.h
adb.h
adfs_fs.h
adfs_fs_i.h
adfs_fs_sb.h
aer.h
affs_hardblocks.h
agp_backend.h
agpgart.h
aio.h
aio_abi.h
amifd.h
amifdreg.h
amigaffs.h
anon_inodes.h
apm-emulation.h
apm_bios.h
arcdevice.h
arcfb.h
async.h
async_tx.h
ata.h
ata_platform.h
atalk.h
ath9k_platform.h
atm.h
atm_eni.h
atm_he.h
atm_idt77105.h
atm_nicstar.h
atm_suni.h
atm_tcp.h
atm_zatm.h
atmapi.h
atmarp.h
atmbr2684.h
atmclip.h
atmdev.h
atmel-mci.h
atmel-pwm-bl.h
atmel-ssc.h
atmel_pdc.h
atmel_pwm.h
atmel_serial.h
atmel_tc.h
atmioc.h
atmlec.h
atmmpc.h
atmppp.h
atmsap.h
atmsvc.h
attribute_container.h
audit.h
auto_dev-ioctl.h
auto_fs.h
auto_fs4.h
auxvec.h
ax25.h
b1lli.h
b1pcmcia.h
backing-dev.h
backlight.h
baycom.h