Project

General

Profile

Actions

Bug #14354

closed

mDNSResponder spins checking interfaces

Added by Hans Rosenfeld 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
networking
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

There's a bug in mdnsd causing it to spin in a tight loop when checking interfaces. I can easily reproduce it just by moving my laptop out of the range of my wifi - as soon as it loses connectivity, mdnsd starts spinning.

The culprit is SetupInterfaceList() in mDNSPosix/mDNSPosix.c, where it just continues processing the same interface over and over again if the interface index is 0.

Actions #1

Updated by Electric Monk 7 months ago

  • Gerrit CR set to 1909
Actions #2

Updated by Electric Monk 7 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit dc5774e5554edd469013b4fe1c42fbd63f5212e1

commit  dc5774e5554edd469013b4fe1c42fbd63f5212e1
Author: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Date:   2022-01-23T08:37:00.000Z

    14354 mDNSResponder spins checking interfaces
    Reviewed by: Yuri Pankov <ypankov@tintri.com>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

Actions

Also available in: Atom PDF