Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2016 18:50:01 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Eric van Gyzen <vangyzen@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r306577 - head/sys/netinet
Message-ID:  <661a719c-39c8-7a3b-e300-9184475ac2c7@selasky.org>
In-Reply-To: <201610020142.u921gjsJ016528@repo.freebsd.org>
References:  <201610020142.u921gjsJ016528@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/02/16 03:42, Eric van Gyzen wrote:
> +	if (callout_reset(&ia->ia_garp_timer, (1 << ia->ia_garp_count) * hz,
> +	    garp_rexmit, ia) == 0) {
> +		ifa_ref(ifa);
> +	}

Hi,

Be careful when you MFC this, because the return values of 
callout_reset() and callout_stop() are not the same in FreeBSD-9, -10 
and 11/12.

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?661a719c-39c8-7a3b-e300-9184475ac2c7>