diff options
author | 2020-05-17 11:26:32 -0600 | |
---|---|---|
committer | 2020-05-17 10:41:24 -0700 | |
commit | 84be69b869a5a496a6cfde9b3c29509207a1f1fa (patch) | |
tree | c57fe1a4c4fd1ec6ca07d596eb83b47dd975d5dd /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | net: ipa: don't be a hog in gsi_channel_poll() (diff) | |
download | wireguard-linux-84be69b869a5a496a6cfde9b3c29509207a1f1fa.tar.xz wireguard-linux-84be69b869a5a496a6cfde9b3c29509207a1f1fa.zip |
nexthop: Fix attribute checking for groups
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions