Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2005 11:44:43 +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:  <200503301144.j2UBihrc025897@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glebius     2005-03-30 11:44:43 UTC

  FreeBSD src repository

  Modified files:
    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
  
  Revision  Changes    Path
  1.22      +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?200503301144.j2UBihrc025897>