Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2012 00:25:23 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Maksim Yevmenkin <emax@FreeBSD.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r241619 - head/sys/net
Message-ID:  <D3C9C299-55C9-4F8B-895E-08BAA364F014@gmail.com>
In-Reply-To: <201210162243.q9GMhElw036009@svn.freebsd.org>
References:  <201210162243.q9GMhElw036009@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This commit broke tinderbox; CTLFLAG_RO should be CTLFLAG_RD.

Sent from my iPhone

On Oct 16, 2012, at 3:43 PM, Maksim Yevmenkin <emax@FreeBSD.org> wrote:

> Author: emax
> Date: Tue Oct 16 22:43:14 2012
> New Revision: 241619
> URL: http://svn.freebsd.org/changeset/base/241619
>=20
> Log:
>  report total number of ports for each lagg(4) interface
>  via net.link.lagg.X.count sysctl
>=20
>  MFC after:    1  week
>=20
> Modified:
>  head/sys/net/if_lagg.c
>=20
> Modified: head/sys/net/if_lagg.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
> --- head/sys/net/if_lagg.c    Tue Oct 16 21:34:02 2012    (r241618)
> +++ head/sys/net/if_lagg.c    Tue Oct 16 22:43:14 2012    (r241619)
> @@ -288,6 +288,9 @@ lagg_clone_create(struct if_clone *ifc,=20
>    SYSCTL_ADD_INT(&sc->ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
>        "use_flowid", CTLTYPE_INT|CTLFLAG_RW, &sc->use_flowid, sc->use_flow=
id,
>        "Use flow id for load sharing");
> +    SYSCTL_ADD_INT(&sc->ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
> +        "count", CTLTYPE_INT|CTLFLAG_RO, &sc->sc_count, sc->sc_count,
> +        "Total number of ports");
>    /* Hash all layers by default */
>    sc->sc_flags =3D LAGG_F_HASHL2|LAGG_F_HASHL3|LAGG_F_HASHL4;
>=20
> _______________________________________________
> svn-src-head@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-src-head
> To unsubscribe, send any mail to "svn-src-head-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D3C9C299-55C9-4F8B-895E-08BAA364F014>