Bug 976

Summary: rte_rib (and rte_rib6) do not handle /0 correctly
Product: DPDK Reporter: Stephen Hemminger (stephen)
Component: otherAssignee: dev
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: 21.11   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Stephen Hemminger 2022-03-23 23:46:02 CET
The function rte_rib_insert() allows inserting 0/0 as a default route, but it is not correctly handled by the current tree code. For example lookups will never match the default route and tree traversal never finds this default route.

Same bug probably exists in rte_rib6