]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r236501 (by emax):
authorbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 Jun 2012 11:27:11 +0000 (11:27 +0000)
committerbz <bz@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 Jun 2012 11:27:11 +0000 (11:27 +0000)
commit01d0f5bb82f7fc6e80c0b7566e59f920be870067
treebcf72f2ee93ea0185ee349965d0393753f717650
parent11524d60b38c53b074555f1ec061645899768fe8
MFC r236501 (by emax):

  Plug reference leak.

  Interface addresses are refcounted as packets move through the stack,
  and there's garbage collection tied to it so that address changes can
  safely propagate while traffic is flowing. In our setup, we weren't
  changing or deleting any addresses, but the refcounting logic in
  ip6_input() was wrong and caused a reference leak on every inbound
  V6 packet. This eventually caused a 32bit overflow, and the resulting
  0 value caused the garbage collection to run on the active address.
  That then snowballed into the panic.

git-svn-id: svn://svn.freebsd.org/base/stable/8@236609 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netinet6/ip6_input.c