diff options
author | Dave Barach <dave@barachs.net> | 2016-01-26 15:36:42 -0500 |
---|---|---|
committer | Dave Barach <dave@barachs.net> | 2016-01-26 15:36:54 -0500 |
commit | c5d4dc7f8a612520c59d5eeca9fb88209c4c170e (patch) | |
tree | 2dfe4aa9c128aec8c3a6af14be8175b5c99ec57b | |
parent | 014bdeb8506747b81c46b63703f3e4ac28c70cee (diff) |
Set the ssvm_ethernet interface pid. Otherwise, the recursive lock
check breaks in a horrible way.
Change-Id: I5c2e69f89152a3f073e678354763086ac7bb7610
Signed-off-by: Dave Barach <dave@barachs.net>
-rw-r--r-- | vnet/vnet/devices/ssvm/ssvm_eth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vnet/vnet/devices/ssvm/ssvm_eth.c b/vnet/vnet/devices/ssvm/ssvm_eth.c index aad63f02..7d937f07 100644 --- 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 */); |