Merge branch 'nexthop-various-fixes'
authorJakub Kicinski <kuba@kernel.org>
Fri, 8 Jan 2021 02:47:21 +0000 (18:47 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Jan 2021 02:47:21 +0000 (18:47 -0800)
commitd7083427489a494cfef552321666774436514ccb
tree01269ace975a9c004a87518158f46f7075239ed3
parentac7996d680d8b4a51bb99bbdcee3dc838b985498
parenta5c9ca76a1c61fb5e4c35de8eb25aa925b03c9e4
Merge branch 'nexthop-various-fixes'

Ido Schimmel says:

====================
nexthop: Various fixes

This series contains various fixes for the nexthop code. The bugs were
uncovered during the development of resilient nexthop groups.

Patches #1-#2 fix the error path of nexthop_create_group(). I was not
able to trigger these bugs with current code, but it is possible with
the upcoming resilient nexthop groups code which adds a user
controllable memory allocation further in the function.

Patch #3 fixes wrong validation of netlink attributes.

Patch #4 fixes wrong invocation of mausezahn in a selftest.
====================

Link: https://lore.kernel.org/r/20210107144824.1135691-1-idosch@idosch.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>