Alexander V. Chernikov aad59c79f5 Fix panic when trying to delete non-existent gateway in multipath route.
IF non-existend gateway was specified, the code responsible for calculating
 an updated nexthop group, returned the same already-used nexthop group.
After the route table update, the operation result contained the same
 old & new nexthop groups. Thus, the code responsible for decomposing
 the notification to the list of simple nexthop-level notifications,
 was not able to find any differences. As a result, it hasn't updated any
  of the "simple" notification fields, resulting in empty rtentry pointer.
This empty pointer was the direct reason of a panic.

Fix the problem by returning ESRCH when the new nexthop group is the same
 as the old one after applying gateway filter.

Reported by:	Michael <michael.adm at gmail.com>
PR:		255665
MFC after:	3 days
2021-05-07 20:41:31 +00:00
..
2019-10-17 21:33:01 +00:00
2019-10-17 21:33:01 +00:00
2019-12-21 21:01:03 +00:00
2021-05-03 14:38:52 +03:00
2019-07-14 03:49:48 +00:00
2019-03-09 01:12:59 +00:00
2021-01-29 21:43:20 +00:00
2020-12-29 17:35:06 +01:00
2019-07-25 22:23:34 +00:00
2020-11-20 14:45:45 +00:00
2021-04-02 07:01:20 +00:00
2020-10-16 11:22:29 +00:00
2021-05-07 22:13:31 +02:00
2021-04-10 13:48:25 +00:00
2018-06-16 19:21:09 +00:00
2021-04-27 08:04:19 +00:00
2021-02-11 16:12:29 +01:00