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>
This commit is contained in:
@@ -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 */);
|
||||
|
||||
Reference in New Issue
Block a user