From: David Miller <davem@davemloft.net>
To: dsahern@kernel.org
Cc: netdev@vger.kernel.org, kuba@kernel.org, dsahern@gmail.com,
assogba.emery@gmail.com
Subject: Re: [PATCH net] nexthop: Fix attribute checking for groups
Date: Sun, 17 May 2020 10:43:33 -0700 (PDT) [thread overview]
Message-ID: <20200517.104333.2026819244321873676.davem@davemloft.net> (raw)
In-Reply-To: <20200517172632.75013-1-dsahern@kernel.org>
From: David Ahern <dsahern@kernel.org>
Date: Sun, 17 May 2020 11:26:32 -0600
> From: David Ahern <dsahern@gmail.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@gmail.com>
> Signed-off-by: David Ahern <dsahern@gmail.com>
Applied and queued up for -stable, thanks David.
prev parent reply other threads:[~2020-05-17 17:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-17 17:26 [PATCH net] nexthop: Fix attribute checking for groups David Ahern
2020-05-17 17:43 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200517.104333.2026819244321873676.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=assogba.emery@gmail.com \
--cc=dsahern@gmail.com \
--cc=dsahern@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox