[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200517.104333.2026819244321873676.davem@davemloft.net>
Date: Sun, 17 May 2020 10:43:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dsahern@...nel.org
Cc: netdev@...r.kernel.org, kuba@...nel.org, dsahern@...il.com,
assogba.emery@...il.com
Subject: Re: [PATCH net] nexthop: Fix attribute checking for groups
From: David Ahern <dsahern@...nel.org>
Date: Sun, 17 May 2020 11:26:32 -0600
> From: David Ahern <dsahern@...il.com>
>
> For nexthop groups, attributes after NHA_GROUP_TYPE are invalid, but
> nh_check_attr_group starts checking at NHA_GROUP. The group type defaults
> to multipath and the NHA_GROUP_TYPE is currently optional so this has
> slipped through so far. Fix the attribute checking to handle support of
> new group types.
>
> Fixes: 430a049190de ("nexthop: Add support for nexthop groups")
> Signed-off-by: ASSOGBA Emery <assogba.emery@...il.com>
> Signed-off-by: David Ahern <dsahern@...il.com>
Applied and queued up for -stable, thanks David.
Powered by blists - more mailing lists