From: David Ahern <[email protected]>
Date: Sun, 17 May 2020 11:26:32 -0600

> From: David Ahern <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: David Ahern <[email protected]>

Applied and queued up for -stable, thanks David.

Reply via email to