mOS-networking-stack icon indicating copy to clipboard operation
mOS-networking-stack copied to clipboard

segfault when using only some interfaces

Open tbarbette opened this issue 6 years ago • 1 comments

When using only some interfaces (eg only dpdk1 when there is in fact dpdk0 and dpdk1 on the machine) leads to a segfault, at least with epwget.

GetOutputInterface will return the "name" index instead of the interface index, therefore this line segfault : api.c:936 saddr_base = g_config.mos->netdev_table->ent[nif_out]->ip_addr; as nif_out should be 0 and not 1

tbarbette avatar Oct 19 '17 09:10 tbarbette

Thanks for reporting the bug. We will patch up the code to fix this issue soon.

ajamshed avatar Oct 19 '17 17:10 ajamshed