Subject: Re: [PATCH] bridge-utils: Check parameters reasonable of path cost and port priority

From: Stephen Hemminger <[email-masked]>
Date: Sun, 28 Jun 2020 11:07:18 -0700

On Sun, 28 Jun 2020 12:24:14 +0000
zhangnaru <[email-masked]> wrote:

> Subject: [PATCH] bugfix-bridge-not-check-parameters
> brtctl_cmd.c: check parameters reasonable of path cost and port priority
> In function br_cmd_setpathcost and br_cmd_setportprio, check the input
> parameters are within a reasonable range to prevent the obvious value
> error before set path cost and port priority
> 
> Signed-off-by: liuqianya <[email-masked]>
> Signed-off-by: ZhangNaru <[email-masked]>

Not sure it makes to put patches on a dead utility.
Use the iproute2 bridge command instead.