forked from Minki/linux
7da4221b53
* Finish removing the custom 9p request cache mechanism * Embed part of the fcall in the request to have better slab performance (msize usually is power of two aligned) * syzkaller fixes: - add a refcount to 9p requests to avoid use after free - a few double free issues * A few coverity fixes * Some old patches that were in the bugzilla: - do not trust pdu content for size header - mount option for lock retry interval ---------------------------------------------------------------- Dan Carpenter (1): 9p: potential NULL dereference Dinu-Razvan Chis-Serban (1): 9p locks: add mount option for lock retry interval Dominique Martinet (12): 9p/xen: fix check for xenbus_read error in front_probe v9fs_dir_readdir: fix double-free on p9stat_read error 9p: clear dangling pointers in p9stat_free 9p: embed fcall in req to round down buffer allocs 9p: add a per-client fcall kmem_cache 9p/rdma: do not disconnect on down_interruptible EAGAIN 9p: acl: fix uninitialized iattr access 9p/rdma: remove useless check in cm_event_handler 9p: p9dirent_read: check network-provided name length 9p locks: fix glock.client_id leak in do_lock 9p/trans_fd: abort p9_read_work if req status changed 9p/trans_fd: put worker reqs on destroy Gertjan Halkes (1): 9p: do not trust pdu content for stat item size Gustavo A. R. Silva (1): 9p: fix spelling mistake in fall-through annotation Matthew Wilcox (2): 9p: Use a slab for allocating requests 9p: Remove p9_idpool Tomas Bortoli (3): 9p: rename p9_free_req() function 9p: Add refcount to p9_req_t 9p: Rename req to rreq in trans_fd fs/9p/acl.c | 2 +- fs/9p/v9fs.c | 21 +++++ fs/9p/v9fs.h | 1 + fs/9p/vfs_dir.c | 19 +--- fs/9p/vfs_file.c | 24 +++++- include/net/9p/9p.h | 12 +-- include/net/9p/client.h | 71 ++++++--------- net/9p/Makefile | 1 - net/9p/client.c | 551 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------- net/9p/mod.c | 9 +- net/9p/protocol.c | 20 ++++- net/9p/trans_fd.c | 64 +++++++++----- net/9p/trans_rdma.c | 37 ++++---- net/9p/trans_virtio.c | 44 +++++++--- net/9p/trans_xen.c | 17 ++-- net/9p/util.c | 140 ------------------------------ 16 files changed, 482 insertions(+), 551 deletions(-) delete mode 100644 net/9p/util.c -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE/IPbcYBuWt0zoYhOq06b7GqY5nAFAlvWYE0ACgkQq06b7GqY 5nBBDxAAkz4rGRsnRpx9D1Bt+81eARTqsWcoPM138zEbwiJehe5aSF8x/CGyirDW +PoES/efho50sDfaUL9eBMgyy95UMN7LepMTcjNE1tywA+tRsH3dOL4757+lBwZc FGsHvfse4b5ZzmMxSo2L5KbzpNiUEXCJGEvNlBSbeWcSSUtCfOShMVx9IC6r7JhX pbsoczQ6W+384V4WgBxBZZf99EryxSeYJ9KMU+9b13ndzKICJqYeaEdItt28uYUC d05iXDEDQZD3B8R/1Y08ktMqmHLXP9kZdJ/w8HhCMRAxWKUD1pfDwJ45gIwhCb5R KxdxZ2tPvc8ihGngNJ4VaJoQQFTVzDgbyWXjwAFYkFUuPFgmuAgx3qApOhUFHCdM 8vgJd2u0attNwfOM3VsJApLQu09wmRw1LcmJ9re5OJ/YLiAUF3vw2oTpGhGlKRRI bMBI9rwXHzeoVI7ank5mh1NMVRpMbzL9A8uqux85gcpXL36V3XmZtKRDe1AAa5jB JR6dciAUABm9m+Ilt1Pl/faSjmysUOb1wZ0XU/cvVy5EBMUjbHv3x0TuDmrVwDas puUXEM8soVf9e/NUYqTOozwFIle6KFcyPmae/OopATLgkGES4cjDy9cLh5SgnERM vMcN/Z+DQO98zM/fPRy2B4qklflgTKI6VI/gSLRCWGpn49Iwhhg= =g1OF -----END PGP SIGNATURE----- Merge tag '9p-for-4.20' of git://github.com/martinetd/linux Pull 9p updates from Dominique Martinet: "Highlights this time around are the end of Matthew's work to remove the custom 9p request cache and use a slab directly for requests, with some extra patches on my end to not degrade performance, but it's a very good cleanup. Tomas and I fixed a few more syzkaller bugs (refcount is the big one), and I had a go at the coverity bugs and at some of the bugzilla reports we had open for a while. I'm a bit disappointed that I couldn't get much reviews for a few of my own patches, but the big ones got some and it's all been soaking in linux-next for quite a while so I think it should be OK. Summary: - Finish removing the custom 9p request cache mechanism - Embed part of the fcall in the request to have better slab performance (msize usually is power of two aligned) - syzkaller fixes: * add a refcount to 9p requests to avoid use after free * a few double free issues - A few coverity fixes - Some old patches that were in the bugzilla: * do not trust pdu content for size header * mount option for lock retry interval" * tag '9p-for-4.20' of git://github.com/martinetd/linux: (21 commits) 9p/trans_fd: put worker reqs on destroy 9p/trans_fd: abort p9_read_work if req status changed 9p: potential NULL dereference 9p locks: fix glock.client_id leak in do_lock 9p: p9dirent_read: check network-provided name length 9p/rdma: remove useless check in cm_event_handler 9p: acl: fix uninitialized iattr access 9p locks: add mount option for lock retry interval 9p: do not trust pdu content for stat item size 9p: Rename req to rreq in trans_fd 9p: fix spelling mistake in fall-through annotation 9p/rdma: do not disconnect on down_interruptible EAGAIN 9p: Add refcount to p9_req_t 9p: rename p9_free_req() function 9p: add a per-client fcall kmem_cache 9p: embed fcall in req to round down buffer allocs 9p: Remove p9_idpool 9p: Use a slab for allocating requests 9p: clear dangling pointers in p9stat_free v9fs_dir_readdir: fix double-free on p9stat_read error ... |
||
---|---|---|
.. | ||
acpi | ||
asm-generic | ||
clocksource | ||
crypto | ||
drm | ||
dt-bindings | ||
keys | ||
kvm | ||
linux | ||
math-emu | ||
media | ||
memory | ||
misc | ||
net | ||
pcmcia | ||
ras | ||
rdma | ||
scsi | ||
soc | ||
sound | ||
target | ||
trace | ||
uapi | ||
video | ||
xen |