kernel-hacking-2024-linux-s.../net/9p
Sven Eckelmann 0b20406cda net/9p: Mount only matching virtio channels
p9_virtio_create will only compare the the channel's tag characters
against the device name till the end of the channel's tag but not till
the end of the device name. This means that if a user defines channels
with the tags foo and foobar then he would mount foo when he requested
foonot and may mount foo when he requested foobar.

Thus it is necessary to check both string lengths against each other in
case of a successful partial string match.

Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-09-27 15:54:44 -07:00
..
client.c fs/9p: destroy fid on failed remove 2010-08-02 14:28:36 -05:00
error.c
Kconfig
Makefile
mod.c
protocol.c 9p: Implement client side of setattr for 9P2000.L protocol. 2010-08-02 14:25:10 -05:00
protocol.h
trans_fd.c 9p: strlen() doesn't count the terminator 2010-08-02 10:37:17 -05:00
trans_rdma.c net: Remove unnecessary returns from void function()s 2010-05-17 23:23:14 -07:00
trans_virtio.c net/9p: Mount only matching virtio channels 2010-09-27 15:54:44 -07:00
util.c