[Bug 194672] [carp] Changing advskew to 0 from another value doesn't work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 29 21:48:21 UTC 2014


Renato Botelho <garga at FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |garga at FreeBSD.org
           Assignee|freebsd-bugs at FreeBSD.org    |freebsd-net at FreeBSD.org

--- Comment #1 from Renato Botelho <garga at FreeBSD.org> ---
Looking into sys/netinet/ip_carp.c at line 1706:

        if (carpr.carpr_advskew > 0) {
            if (carpr.carpr_advskew >= 255) {
                error = EINVAL;
            sc->sc_advskew = carpr.carpr_advskew;

It silently accepts 0 as a good value (no error returned) but it doesn't set
sc->sc_advskew. Is it expected to work this way?

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list