diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-01-07 16:48:22 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-17 14:05:32 +0100 |
commit | e6931e3eb0845a4e5cc0fb81a29866e91ea63fa8 (patch) | |
tree | da365a1cfbcd7059c278bc46dbeca111cf56f905 /include | |
parent | 3cecab93f271e7dc1674c7568104d316cd56480d (diff) | |
download | linux-stable-e6931e3eb0845a4e5cc0fb81a29866e91ea63fa8.tar.gz linux-stable-e6931e3eb0845a4e5cc0fb81a29866e91ea63fa8.tar.bz2 linux-stable-e6931e3eb0845a4e5cc0fb81a29866e91ea63fa8.zip |
nexthop: Unlink nexthop group entry in error path
[ Upstream commit 7b01e53eee6dce7a8a6736e06b99b68cd0cc7a27 ]
In case of error, remove the nexthop group entry from the list to which
it was previously added.
Fixes: 430a049190de ("nexthop: Add support for nexthop groups")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions