Changeset 7dd7bc0 in mainline


Ignore:
Timestamp:
2020-01-05T03:04:38Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
338a1a76
Parents:
fb86ff19
git-author:
Matthieu Riolo <matthieu.riolo@…> (2019-12-11 19:51:56)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2020-01-05 03:04:38)
Message:

bugfixing call forwarding from taskman to ns

the fallback port handler must be set before ns gets introduced to
taskman. Taskman will wait until the introduction, then it will
start forwarding calls to ns.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/ns.c

    rfb86ff19 r7dd7bc0  
    120120                return rc;
    121121
     122        /** fallback port handler must be set before ns gets
     123         * introduced to taskman. Taskman will wait until
     124         * the introduction, then it will start forwarding
     125         * calls to ns.
     126         */
     127        async_set_fallback_port_handler(ns_connection, NULL);
     128
    122129        rc = taskman_intro_ns();
    123130        if (rc != EOK) {
     
    126133        }
    127134        task_retval(0);
    128 
    129         async_set_fallback_port_handler(ns_connection, NULL);
    130135
    131136        printf("%s: Accepting connections\n", NAME);
Note: See TracChangeset for help on using the changeset viewer.