Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2012 15:57:06 +0000
From:      "Andrew Smedley (andrsmed)" <andrsmed@cisco.com>
To:        "freebsd-bugs@freebsd.org" <freebsd-bugs@freebsd.org>
Subject:   lltable leak when adding and removing IPv6 addresses
Message-ID:  <6EC4152AB9CF134090F680D4628FE4AE1BC92593@xmb-aln-x06.cisco.com>

next in thread | raw e-mail | index | archive | help
--_002_6EC4152AB9CF134090F680D4628FE4AE1BC92593xmbalnx06ciscoc_
Content-Type: text/plain; charset="iso-8859-1"
Content-ID: <57F53FABAD1B934EAC7441FB6F659238@cisco.com>
Content-Transfer-Encoding: quoted-printable

I've found what appears to be a lltable leak when adding and removing IPv6
addresses.

# vmstat =ADm | grep lltable
      lltable    14     4k       -       14  128,256
# ifconfig em0 inet6 3ffe:b00:1:1::1 alias
# vmstat =ADm | grep lltable
      lltable    15     4k       -       15  128,256
# ifconfig em0 inet6 3ffe:b00:1:1::1 -alias
# vmstat =ADm | grep lltable
      lltable    15     4k       -       15  128,256

The attached patch seems to fix the problem.

Regards,

Andrew=20




--_002_6EC4152AB9CF134090F680D4628FE4AE1BC92593xmbalnx06ciscoc_
Content-Type: application/octet-stream; name="in6.c.patch"
Content-Description: in6.c.patch
Content-Disposition: attachment; filename="in6.c.patch"; size=464;
	creation-date="Wed, 10 Oct 2012 15:57:06 GMT";
	modification-date="Wed, 10 Oct 2012 15:57:06 GMT"
Content-ID: <46DEA0B061609A4486CE29FD43F01C23@cisco.com>
Content-Transfer-Encoding: base64

SW5kZXg6IGluNi5jCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGluNi5jCShyZXZpc2lvbiAyNDEzOTUpCisrKyBp
bjYuYwkod29ya2luZyBjb3B5KQpAQCAtMjYxMCw3ICsyNjEwLDggQEAKIAkJaWYgKCEobGxlLT5s
YV9mbGFncyAmIExMRV9JRkFERFIpIHx8IChmbGFncyAmIExMRV9JRkFERFIpKSB7CiAJCQlMTEVf
V0xPQ0sobGxlKTsKIAkJCWxsZS0+bGFfZmxhZ3MgfD0gTExFX0RFTEVURUQ7Ci0JCQlMTEVfV1VO
TE9DSyhsbGUpOworCQkJTElTVF9SRU1PVkUobGxlLCBsbGVfbmV4dCk7CisJCQlpbjZfbGx0YWJs
ZV9mcmVlKGxsdCwgbGxlKTsgLyogVW5sb2NrcyBsbGUgKi8KICNpZmRlZiBESUFHTk9TVElDCiAJ
CQlsb2coTE9HX0lORk8sICJpZmFkZHIgY2FjaGUgPSAlcCAgaXMgZGVsZXRlZFxuIiwgbGxlKTsK
ICNlbmRpZgo=

--_002_6EC4152AB9CF134090F680D4628FE4AE1BC92593xmbalnx06ciscoc_--



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