Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2005 17:33:30 +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:  <200503311733.j2VHXUJv051366@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glebius     2005-03-31 17:33:30 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/netinet          ip_carp.c 
  Log:
      When several carp interfaces are attached to Ethernet interface,
    carp_carpdev_state_locked() is called every time carp interface is attached.
    The first call backs up flags of the first interface, and the second
    call backs up them again, erasing correct values.
      To solve this, a carp_sc_state_locked() function is introduced. It is
    called when interface is attached to parent, instead of calling
    carp_carpdev_state_locked. carp_carpdev_state_locked() calls
    carp_sc_state_locked() for each sc in chain.
  
    Reported by:    Yuriy N. Shkandybin, sem
  
  Approved by: re (kensmith)
  
  Revision  Changes    Path
  1.21.2.2  +37 -27    src/sys/netinet/ip_carp.c



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