Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
35e22ce
)
fix nsh map index error, it will cause vpp appear Segmentation fault when vpp process...
34/14834/2
author
zhanglimao
<zhanglimao0017@gmail.com>
Sat, 15 Sep 2018 05:19:41 +0000
(13:19 +0800)
committer
Dave Barach
<openvpp@barachs.net>
Sun, 16 Sep 2018 15:05:08 +0000
(15:05 +0000)
Change-Id: Ib32bb351356b84aaf696c57398610b52a5a1f4dd
Signed-off-by: zhanglimao <zhanglimao0017@gmail.com>
src/plugins/nsh/nsh.c
patch
|
blob
|
history
diff --git
a/src/plugins/nsh/nsh.c
b/src/plugins/nsh/nsh.c
index
20e4603
..
33cf552
100644
(file)
--- a/
src/plugins/nsh/nsh.c
+++ b/
src/plugins/nsh/nsh.c
@@
-2000,7
+2000,7
@@
nsh_input_map (vlib_main_t * vm,
goto trace1;
}
vnet_buffer (b1)->sw_if_index[VLIB_RX] =
- map
0
->rx_sw_if_index;
+ map
1
->rx_sw_if_index;
}
/* Pop NSH header */