summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Lledó <jlledom@member.fsf.org>2021-02-24 19:52:44 +0100
committerJoan Lledó <jlledom@member.fsf.org>2021-06-20 10:49:27 +0200
commit4602150950a30502580b8acd1318e29e75160dce (patch)
tree983068d825c18f11d41b0879f8667b600e62aef9
parent54eff72e55efb6436307178e9e1c3f9538910c9b (diff)
pci-arbiter: Stop storing the proxy for future requests
The proxy is not valid as future requests can ask for different protection level.
-rw-r--r--pci-arbiter/netfs_impl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/pci-arbiter/netfs_impl.c b/pci-arbiter/netfs_impl.c
index b3ca5bc6..afbfce94 100644
--- a/pci-arbiter/netfs_impl.c
+++ b/pci-arbiter/netfs_impl.c
@@ -589,12 +589,6 @@ netfs_get_filemap (struct node *node, vm_prot_t prot)
goto error;
}
- /* Return the existing proxy if any */
- if (node->nn->ln->memproxy != MACH_PORT_NULL)
- {
- return node->nn->ln->memproxy;
- }
-
/* Get region info */
reg_num =
strtol (&node->nn->ln->name[strlen (node->nn->ln->name) - 1], 0, 16);
@@ -641,8 +635,6 @@ netfs_get_filemap (struct node *node, vm_prot_t prot)
if (err)
goto error;
- node->nn->ln->memproxy = proxy;
-
return proxy;
error: