commit | ac21753a5c2c9a6a2019997481a2ac12bbde48c8 | [log] [tgz] |
---|---|---|
author | David Ahern <dsahern@gmail.com> | Tue May 26 12:56:14 2020 -0600 |
committer | David S. Miller <davem@davemloft.net> | Tue May 26 16:06:06 2020 -0700 |
tree | 0653f6151b5cde90029bbcad0fc0d858b27ef3a3 | |
parent | 963bdfc75cfa20c53bde64928af57a6ca175fc01 [diff] |
nexthops: Move code from remove_nexthop_from_groups to remove_nh_grp_entry Move nh_grp dereference and check for removing nexthop group due to all members gone into remove_nh_grp_entry. Fixes: 430a049190de ("nexthop: Add support for nexthop groups") Signed-off-by: David Ahern <dsahern@gmail.com> Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>