aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra/bihash_template.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2020-09-29 16:23:25 -0700
committerDamjan Marion <dmarion@me.com>2020-09-30 10:10:57 +0000
commit5aa34d54de1e3dcdab1b74207ef8a24cc67a0f5d (patch)
tree3cec9ac1152f02554c85fd9bedb2d743b3ef2510 /src/vppinfra/bihash_template.c
parent124d5e02b31c47a78dba709699408b4e9d9e29f5 (diff)
avf: check duplicate pci address upon create interface
Entering duplicate pci address when creating an avf interface causes crash in register_node (gdb) f 4 145 error_exit (1); (gdb) up 354 clib_error ("more than one node named `%v'", n->name); (gdb) p n $1 = (vlib_node_t *) 0x7fffbbe55de4 (gdb) p n->name $2 = (u8 *) 0x7fffbc410b10 "avf-0/4/a/0-tx" (gdb) The fix is to loop through the pci addresses in the avf interface pool and to reject the duplicate. Type: improvement Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I4ed6fb630fb11982d85c5bb325d9f0d6beeaf023
Diffstat (limited to 'src/vppinfra/bihash_template.c')
0 files changed, 0 insertions, 0 deletions