Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2005 13:37:56 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet ip_carp.c
Message-ID:  <200509121337.j8CDbuqN049979@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glebius     2005-09-12 13:37:56 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netinet          ip_carp.c 
  Log:
  MFC 1.31:
    When a carp(4) interface is being destroyed and is in a promiscous mode,
    first interface is detached from parent and then bpfdetach() is called.
    If the interface was the last carp(4) interface attached to parent, then
    the mutex on parent is destroyed. When bpfdetach() calls if_setflags()
    we panic on destroyed mutex.
  
    To prevent the above scenario, clear pointer to parent, when we detach
    ourselves from parent.
  
  Approved by:    re (kensmith)
  
  Revision  Changes    Path
  1.27.2.2  +1 -0      src/sys/netinet/ip_carp.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509121337.j8CDbuqN049979>