Michael S. Tsirkin 43b39dcdbd tun: fix tun_chr_aio_read so that aio works
aio_read gets const struct iovec * but tun_chr_aio_read casts this to struct
iovec * and modifies the iovec. As a result, attempts to use io_submit
to get packets from a tun device fail with weird errors such as EINVAL.

Fix by using the new skb_copy_datagram_const_iovec.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-21 05:42:45 -07:00
..
2009-04-13 04:22:04 -04:00
2009-04-07 08:31:03 -07:00
2009-04-05 02:14:15 -04:00
2009-04-08 14:13:04 +02:00
2009-04-08 00:00:33 -07:00
2009-03-30 21:55:25 +10:30
2009-04-09 00:27:17 +01:00
2009-04-05 00:32:25 +02:00
2009-04-01 08:59:23 -07:00
2009-04-02 00:40:41 +00:00
2009-04-02 11:19:57 +09:00
2009-03-27 20:13:20 -04:00
2009-04-05 00:32:22 +02:00