Hi vpp-dev
When I add an abf policy and then add a route to the same gateway, a SIGSEGV 
will appear.
These are the steps to generate the problem:
First setup interfaces:
vppctl set int state GigabitEthernet3/0/0 up
vppctl set int state GigabitEthernet4/0/0 up
vppctl set int ip address GigabitEthernet3/0/0 200.200.200.2/24
vppctl set int ip address GigabitEthernet4/0/0 100.100.100.1/24
Now create an acl using vpp_api_test
acl_add_replace permit dst 1.1.1.1
And then add abf policy and route which cause crash
vppctl abf policy add id 9001 acl 0 via 100.100.100.2 GigabitEthernet4/0/0
vppctl abf attach ip4 policy 9001 priority 1 GigabitEthernet3/0/0
vppctl ip route add 8.8.8.0/24 via 100.100.100.2 GigabitEthernet4/0/0

I see this SIGSEGV on both master and stable/1904 branches:

received signal SIGSEGV, PC 0x7f51a1b60160, faulting address 0x7f61608d8814
#0  0x00007f51a0fde0db 0x7f51a0fde0db
#1  0x00007f51a0904890 0x7f51a0904890
#2  0x00007f51a1b60160 fib_urpf_list_lock + 0x10
#3  0x00007f51a1b5408f fib_entry_src_mk_lb + 0x1bf
#4  0x00007f51a1b54391 fib_entry_src_action_install + 0x131
#5  0x00007f51a1b51691 fib_entry_create + 0x71
#6  0x00007f51a1b486b8 fib_table_entry_update + 0x1c8
#7  0x00007f51a1b6398e fib_api_route_add_del + 0x7e
#8  0x00007f51a1879e3f vl_api_ip_route_add_del_t_handler + 0x21f
#9  0x00007f51a1f26d8c vl_msg_api_handler_with_vm_node + 0x8c
#10 0x00007f51a1f0b815 vl_mem_api_handle_msg_main + 0x45
#11 0x00007f51a1f1b38d 0x7f51a1f1b38d
#12 0x00007f51a0f92ea6 0x7f51a0f92ea6
#13 0x00007f51a04818bc 0x7f51a04818bc

What should I do to solve this problem?
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#13601): https://lists.fd.io/g/vpp-dev/message/13601
Mute This Topic: https://lists.fd.io/mt/32639594/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to