[GIT PULL] 9p updates for 4.19

From: Dominique Martinet
Date: Thu Aug 16 2018 - 22:33:28 EST


Hi Linus,

9p has seen some recent surge of activity recently and I've stepped up
to help maintaining 9p; please let me know if there are things to
improve in how I do things.
In particular, the gpg key I used to sign the tag is getting rather old
(1024 bit dsa is considered weak nowadays) and I will have a newer key
ready for 4.20, but I didn't think I would be able to gather signatures
for 4.19 so went for this one for now. Sorry for that.

I've rebased the branch at the start of the week to add some stable Cc
but all the patches have been in linux-next for two weeks, and all
transports have been tested since the rebase (thanks to Stefano
Stabellini for xen!)


The following changes since commit 94710cac0ef4ee177a63b5227664b38c95bbf703:

Linux 4.18 (2018-08-12 13:41:04 -0700)

are available in the Git repository at:

git://github.com/martinetd/linux tags/9p-for-4.19-2

for you to fetch changes up to edcd9d977354304cb85aee61c2b96809edce41ed:

net/9p/trans_virtio.c: add null terminal for mount tag (2018-08-13 09:34:58 +0900)

----------------------------------------------------------------
Pull request for inclusion in 4.19 for 9p

Contains mostly fixes (6 to be backported to stable) and a few changes,
here is the breakdown:
* Rework how fids are attributed by replacing some custom tracking in a
list by an idr (f28cdf0430fc)
* For packet-based transports (virtio/rdma) validate that the packet
length matches what the header says (f984579a01d8)
* A few race condition fixes found by syzkaller (9f476d7c540c,
430ac66eb4c5)
* Missing argument check when NULL device is passed in sys_mount
(10aa14527f45)
* A few virtio fixes (23cba9cbde0b, 31934da81036, d28c756caee6)
* Some spelling and style fixes

----------------------------------------------------------------
Chirantan Ekbote (1):
9p/net: Fix zero-copy path in the 9p virtio transport

Colin Ian King (1):
fs/9p/v9fs.c: fix spelling mistake "Uknown" -> "Unknown"

Jean-Philippe Brucker (1):
net/9p: fix error path of p9_virtio_probe

Matthew Wilcox (4):
9p: Fix comment on smp_wmb
9p: Change p9_fid_create calling convention
9p: Replace the fidlist with an IDR
9p: Embed wait_queue_head into p9_req_t

Souptick Joarder (1):
fs/9p/vfs_file.c: use new return type vm_fault_t

Stephen Hemminger (1):
9p: fix whitespace issues

Tomas Bortoli (5):
net/9p/client.c: version pointer uninitialized
net/9p/trans_fd.c: fix race-condition by flushing workqueue before the kfree()
net/9p/trans_fd.c: fix race by holding the lock
9p: validate PDU length
9p: fix multiple NULL-pointer-dereferences

jiangyiwen (2):
net/9p/virtio: Fix hard lockup in req_done
9p/virtio: fix off-by-one error in sg list bounds check

piaojun (5):
net/9p/client.c: add missing '\n' at the end of p9_debug()
9p/net/protocol.c: return -ENOMEM when kmalloc() failed
net/9p/trans_virtio.c: fix some spell mistakes in comments
fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed
net/9p/trans_virtio.c: add null terminal for mount tag

fs/9p/v9fs.c | 2 +-
fs/9p/vfs_file.c | 2 +-
fs/9p/xattr.c | 6 ++-
include/net/9p/client.h | 11 ++---
net/9p/client.c | 119 ++++++++++++++++++++----------------------------
net/9p/protocol.c | 2 +-
net/9p/trans_fd.c | 22 ++++++---
net/9p/trans_rdma.c | 4 ++
net/9p/trans_virtio.c | 66 ++++++++++++++++-----------
net/9p/trans_xen.c | 3 ++
net/9p/util.c | 1 -
11 files changed, 122 insertions(+), 116 deletions(-)
--
Dominique Martinet