1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

plugged a possible memory leak

Obtained from: KAME
MFC after: 1 day
This commit is contained in:
SUZUKI Shinsuke 2005-09-16 01:42:50 +00:00
parent 3b87a552e4
commit 9689258fb5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150202

View File

@ -595,7 +595,7 @@ nd6_na_input(m, off, icmp6len)
taddr6 = nd_na->nd_na_target;
if (in6_setscope(&taddr6, ifp, NULL))
return; /* XXX: impossible */
goto bad; /* XXX: impossible */
if (IN6_IS_ADDR_MULTICAST(&taddr6)) {
nd6log((LOG_ERR,