Subject: Re: [PATCH iproute2-next] iplink: bond_slave: print actor and partner churn state

From: Hangbin Liu <[email-masked]>
Date: Thu, 26 Feb 2026 02:10:21 +0000

On Wed, Feb 25, 2026 at 01:22:39PM -0800, Stephen Hemminger wrote:
> On Tue, 24 Feb 2026 02:02:15 +0000
> Hangbin Liu <[email-masked]> wrote:
> 
> > +	if (tb[IFLA_BOND_SLAVE_AD_CHURN_ACTOR_STATE]) {
> > +		__u8 state = rta_getattr_u8(tb[IFLA_BOND_SLAVE_AD_CHURN_ACTOR_STATE]);
> > +
> > +		if (state >= ARRAY_SIZE(port_churn_state))
> > +			print_int(PRINT_ANY, "churn_actor_state", "churn_actor_state %u ", state);
> 
> You should use print_uint for unsigned values.

Thanks, should I post a v2 version for both the kernel and iproute2 patches,
Or just the iproute2 patch?

Hangbin