Revision 0b5e2e39739e861fa5fc84ab27a35dbe62a15330 authored by David Ahern on 26 May 2020, 18:56:16 UTC, committed by David S. Miller on 26 May 2020, 23:06:07 UTC
I got too fancy consolidating checks on multipath type. The result is that path lookups can access 2 different nh_grp structs as exposed by Nik's torture tests. Expand nexthop_is_multipath within nexthop.h to avoid multiple, nh_grp dereferences and make decisions based on the consistent struct. Only 2 places left using nexthop_is_multipath are within IPv6, both only check that the nexthop is a multipath for a branching decision which are acceptable. 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>
1 parent 90f33bf
File | Mode | Size |
---|---|---|
include | ||
.gitignore | -rw-r--r-- | 94 bytes |
Kconfig | -rw-r--r-- | 7.1 KB |
Makefile | -rw-r--r-- | 2.9 KB |
default_cpio_list | -rw-r--r-- | 153 bytes |
gen_init_cpio.c | -rw-r--r-- | 12.8 KB |
gen_initramfs.sh | -rwxr-xr-x | 5.7 KB |
initramfs_data.S | -rw-r--r-- | 1.2 KB |
Computing file changes ...