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
(parent:
014bdeb
)
Set the ssvm_ethernet interface pid. Otherwise, the recursive lock
41/141/1
author
Dave Barach
<dave@barachs.net>
Tue, 26 Jan 2016 20:36:42 +0000
(15:36 -0500)
committer
Dave Barach
<dave@barachs.net>
Tue, 26 Jan 2016 20:36:54 +0000
(15:36 -0500)
check breaks in a horrible way.
Change-Id: I5c2e69f89152a3f073e678354763086ac7bb7610
Signed-off-by: Dave Barach <dave@barachs.net>
vnet/vnet/devices/ssvm/ssvm_eth.c
patch
|
blob
|
history
diff --git
a/vnet/vnet/devices/ssvm/ssvm_eth.c
b/vnet/vnet/devices/ssvm/ssvm_eth.c
index
aad63f0
..
7d937f0
100644
(file)
--- a/
vnet/vnet/devices/ssvm/ssvm_eth.c
+++ b/
vnet/vnet/devices/ssvm/ssvm_eth.c
@@
-49,6
+49,7
@@
int ssvm_eth_create (ssvm_eth_main_t * em, u8 * name, int is_master)
intfc->ssvm_size = em->segment_size;
intfc->i_am_master = 1;
intfc->name = name;
+ intfc->my_pid = getpid();
if (is_master == 0)
{
rv = ssvm_slave_init (intfc, 20 /* timeout in seconds */);