diff options
author | Steven <sluong@cisco.com> | 2018-02-27 14:43:40 -0800 |
---|---|---|
committer | Steven <sluong@cisco.com> | 2018-02-27 15:15:02 -0800 |
commit | ac0932d26c17b8d82af1a7d033e1abdccb6f7209 (patch) | |
tree | 7a6425d010fef937b6ff6c39c76708b897dc78b7 /src/vnet/global_funcs.h | |
parent | 0aa14ed8f56cda4135766471d32755392f92bda7 (diff) |
vnet/interface: vnet_(put|get)frame_to_sw_interface is not worker thread aware
When heavy traffic is running using worker threads, it may crash here
DBGvpp# 0: /home/sluong/vpp3/vpp/build-data/../src/vlib/main.c:1128 (dispatch_pending_node) assertion `f->flags & VLIB_FRAME_PENDING' fails
Thread 1 "vpp_main" received signal SIGABRT, Aborted.
0x00007ffff5d50428 in __GI_raise (sig=sig@entry=6)
at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb)
No crash was observed if only main thread was used.
Change-Id: I96f8b02ec23accc85c0f1ddecfeff6043b5e3c2b
Signed-off-by: Steven <sluong@cisco.com>
Diffstat (limited to 'src/vnet/global_funcs.h')
0 files changed, 0 insertions, 0 deletions