summaryrefslogtreecommitdiff
path: root/drivers/coremidi
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-01-29 01:33:29 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2022-01-29 01:56:36 +0100
commit49297d937ce6128b2c9f1fb09199dd7d4f2404b7 (patch)
treef6528f67285249b58af6bdd48cd558c0f023b421 /drivers/coremidi
parent252ec22ff9fc2befd6b120fd40b0e008137a0392 (diff)
[Net] Simplify IP resolution code, fix caching.
First, we should not insert into cache if the hostname resolution has failed (as it might be a temporary internet issue), second, the async resolver should also properly insert into cache. Took the chance to remove some duplicate code with critical section in it at the cost of little performance when calling the blocking resolve_hostname function.
Diffstat (limited to 'drivers/coremidi')
0 files changed, 0 insertions, 0 deletions