Michael S. Tsirkin
6f26c9a755
tun: fix tun_chr_aio_write so that aio works
...
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: Michael S. Tsirkin <mst@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2009-04-21 05:42:46 -07:00
..
2009-02-26 23:13:32 -08:00
2009-04-11 01:43:17 -07:00
2009-04-21 02:00:51 -07:00
2009-03-31 01:14:44 +04:00
2009-03-31 01:14:44 +04:00
2009-04-20 02:14:59 -07:00
2009-04-19 19:30:03 +02:00
2009-03-26 01:22:01 -07:00
2009-04-17 01:38:46 -07:00
2009-04-21 05:42:46 -07:00
2009-01-04 17:29:21 -08:00
2009-03-02 03:07:23 -08:00
2009-03-21 13:36:17 -07:00
2009-03-21 19:06:54 -07:00
2009-03-10 05:22:43 -07:00
2008-11-23 23:24:32 -08:00
2009-04-21 01:32:26 -07:00
2009-04-20 02:25:26 -07:00
2009-03-21 19:06:51 -07:00
2009-04-01 08:59:10 -07:00
2009-02-26 23:07:37 -08:00
2009-02-26 23:07:32 -08:00
2008-01-28 14:56:52 -08:00
2009-03-31 01:14:44 +04:00
2009-04-20 16:36:26 -04:00
2009-04-17 17:48:44 +02:00
2009-03-28 15:01:37 +11:00
2009-03-26 15:23:24 -07:00
2009-03-27 17:22:55 -07:00
2009-04-15 03:39:52 -07:00
2009-03-30 15:22:01 +02:00
2009-04-09 17:21:22 -07:00
2009-01-04 17:11:24 -08:00
2009-04-14 20:28:00 -07:00
2009-02-06 21:50:52 -08:00
2009-04-20 02:14:59 -07:00
2009-03-31 01:14:44 +04:00
2009-04-06 13:25:56 -07:00
2009-03-18 19:11:29 -07:00
2009-03-31 23:00:26 -04:00
2009-02-26 23:13:36 -08:00
2009-03-30 15:22:01 +02:00
2009-04-20 16:36:26 -04:00
2009-03-27 00:28:21 -07:00
2009-03-27 00:23:04 -07:00
2009-02-15 22:43:35 -08:00
2009-03-30 15:22:01 +02:00
2009-02-26 23:43:35 -08:00
2006-03-28 09:16:06 -08:00
2009-04-06 18:05:43 -07:00
2009-03-16 16:23:30 +01:00
2005-04-16 15:20:36 -07:00