aad59c79f5
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 |
||
---|---|---|
.. | ||
fib_algo.c | ||
fib_algo.h | ||
mpath_ctl.c | ||
nhgrp_ctl.c | ||
nhgrp_var.h | ||
nhgrp.c | ||
nhop_ctl.c | ||
nhop_utils.c | ||
nhop_utils.h | ||
nhop_var.h | ||
nhop.c | ||
nhop.h | ||
route_ctl.c | ||
route_ctl.h | ||
route_ddb.c | ||
route_helpers.c | ||
route_ifaddrs.c | ||
route_tables.c | ||
route_temporal.c | ||
route_var.h |