<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/9p/trans_virtio.c, branch linux-4.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-01-24T20:39:09Z</updated>
<entry>
<title>Merge tag 'for-linus-4.5-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs</title>
<updated>2016-01-24T20:39:09Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2016-01-24T20:39:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c52cb4311f20538fcb69420e55a19ac622546a08'/>
<id>urn:sha1:c52cb4311f20538fcb69420e55a19ac622546a08</id>
<content type='text'>
Pull 9p updates from Eric Van Hensbergen:
 "Sorry for the last minute pull request, there's was a change that
  didn't get pulled into for-next until two weeks ago and I wanted to
  give it some bake time.

  Summary:

  Rework and error handling fixes, primarily in the fscatch and fd
  transports"

* tag 'for-linus-4.5-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
  fs/9p: use fscache mutex rather than spinlock
  9p: trans_fd, bail out if recv fcall if missing
  9p: trans_fd, read rework to use p9_parse_header
  net/9p: Add device name details on error
</content>
</entry>
<entry>
<title>... and a couple in net/9p</title>
<updated>2016-01-04T15:29:17Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2016-01-02T18:31:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=222e4adec52418dc1c80a30eff80b33ec954745e'/>
<id>urn:sha1:222e4adec52418dc1c80a30eff80b33ec954745e</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>9p/trans_virtio: don't bother with p9_tag_lookup()</title>
<updated>2015-12-07T02:17:11Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2015-07-13T01:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=474fe9f7f551b151222db07a968b15bf05ffe4c4'/>
<id>urn:sha1:474fe9f7f551b151222db07a968b15bf05ffe4c4</id>
<content type='text'>
Just store the pointer to req instead of that to req-&gt;tc as opaque
data.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>net/9p: Add device name details on error</title>
<updated>2015-11-14T14:12:41Z</updated>
<author>
<name>Aneesh Kumar K.V</name>
</author>
<published>2015-09-03T08:06:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c7c72c5a127507687c737ede0f97d85bde674433'/>
<id>urn:sha1:c7c72c5a127507687c737ede0f97d85bde674433</id>
<content type='text'>
If we use wrong device name 9p mount fails with error

"9pnet_virtio: no channels available"

Improve the error output as below

"9pnet_virtio: no channels available for device /dev/root"

Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.vnet.ibm.com&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
</entry>
<entry>
<title>9p/trans_virtio: reset virtio device on remove</title>
<updated>2015-07-13T16:47:10Z</updated>
<author>
<name>Pierre Morel</name>
</author>
<published>2015-07-09T12:58:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea52bf8eda9832ad30e9f059c5ead8d44f882a53'/>
<id>urn:sha1:ea52bf8eda9832ad30e9f059c5ead8d44f882a53</id>
<content type='text'>
On device shutdown/removal, virtio drivers need to trigger a reset on
the device; if this is neglected, the virtio core will complain about
non-zero device status.

This patch resets the status when the 9p virtio driver is removed
from the system by calling vdev-&gt;config-&gt;reset on the virtio_device
to send a reset to the host virtio device.

Signed-off-by: Pierre Morel &lt;pmorel@linux.vnet.ibm.com&gt;
Reviewed-by: Cornelia Huck &lt;cornelia.huck@de.ibm.com&gt;
Reviewed-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'for-linus-4.1-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs</title>
<updated>2015-04-18T21:45:30Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2015-04-18T21:45:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dba94f2155f581395ef9608418778e3491b3d470'/>
<id>urn:sha1:dba94f2155f581395ef9608418778e3491b3d470</id>
<content type='text'>
Pull 9pfs updates from Eric Van Hensbergen:
 "Some accumulated cleanup patches for kerneldoc and unused variables as
  well as some lock bug fixes and adding privateport option for RDMA"

* tag 'for-linus-4.1-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs:
  net/9p: add a privport option for RDMA transport.
  fs/9p: Initialize status in v9fs_file_do_lock.
  net/9p: Initialize opts-&gt;privport as it should be.
  net/9p: use memcpy() instead of snprintf() in p9_mount_tag_show()
  9p: use unsigned integers for nwqid/count
  9p: do not crash on unknown lock status code
  9p: fix error handling in v9fs_file_do_lock
  9p: remove unused variable in p9_fd_create()
  9p: kerneldoc warning fixes
</content>
</entry>
<entry>
<title>net/9p: switch the guts of p9_client_{read,write}() to iov_iter</title>
<updated>2015-04-12T02:28:25Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2015-04-01T23:57:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f3b35c157e43107cc7e1f1aa06694e8b22e10bb'/>
<id>urn:sha1:4f3b35c157e43107cc7e1f1aa06694e8b22e10bb</id>
<content type='text'>
... and have get_user_pages_fast() mapping fewer pages than requested
to generate a short read/write.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>net/9p: use memcpy() instead of snprintf() in p9_mount_tag_show()</title>
<updated>2015-03-20T14:34:43Z</updated>
<author>
<name>Andrey Ryabinin</name>
</author>
<published>2015-01-27T13:00:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=179a5bc4b8cbe68ca675057b960dd805867e41c4'/>
<id>urn:sha1:179a5bc4b8cbe68ca675057b960dd805867e41c4</id>
<content type='text'>
p9_mount_tag_show() uses '%s' format string to print
non-NULL terminated chan-&gt;tag string. This leads
to out of bounds memory read, because format '%s'
implies that string is NULL-terminated.

The length of string is know here, so its simpler and safer
to use memcpy instead of snprintf().

Signed-off-by: Andrey Ryabinin &lt;a.ryabinin@samsung.com&gt;
Signed-off-by: Dominique Martinet &lt;dominique.martinet@cea.fr&gt;
Signed-off-by: Eric Van Hensbergen &lt;ericvh@gmail.com&gt;
</content>
</entry>
<entry>
<title>9p/trans_virtio: fix hot-unplug</title>
<updated>2015-03-13T05:25:41Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2015-03-12T01:23:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8051a2a518fcf3827a143470083ad6008697ff17'/>
<id>urn:sha1:8051a2a518fcf3827a143470083ad6008697ff17</id>
<content type='text'>
On device hot-unplug, 9p/virtio currently will kfree channel while
it might still be in use.

Of course, it might stay used forever, so it's an extremely ugly hack,
but it seems better than use-after-free that we have now.

[ Unused variable removed, whitespace cleanup, msg single-lined --RR ]
Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
<entry>
<title>virtio/9p: verify device has config space</title>
<updated>2015-01-21T05:58:45Z</updated>
<author>
<name>Michael S. Tsirkin</name>
</author>
<published>2015-01-12T14:23:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7754f53e944122fa95ef36039d3a5009910ce6fc'/>
<id>urn:sha1:7754f53e944122fa95ef36039d3a5009910ce6fc</id>
<content type='text'>
Some devices might not implement config space access
(e.g. remoteproc used not to - before 3.9).
virtio/9p needs config space access so make it
fail gracefully if not there.

Signed-off-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Rusty Russell &lt;rusty@rustcorp.com.au&gt;
</content>
</entry>
</feed>
