summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorSven Eckelmann2010-09-28 00:54:44 +0200
committerDavid S. Miller2010-09-28 00:54:44 +0200
commit0b20406cda621c2495d10baab1e87127ceb43337 (patch)
tree10befc92130dbe19406b781b16bf312c77c03f89 /net/ipv4/tcp_input.c
parentde2104x: fix ethtool (diff)
downloadkernel-qcow2-linux-0b20406cda621c2495d10baab1e87127ceb43337.tar.gz
kernel-qcow2-linux-0b20406cda621c2495d10baab1e87127ceb43337.tar.xz
kernel-qcow2-linux-0b20406cda621c2495d10baab1e87127ceb43337.zip
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>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions