From: Dave Barach Date: Tue, 26 Jan 2016 20:36:42 +0000 (-0500) Subject: Set the ssvm_ethernet interface pid. Otherwise, the recursive lock X-Git-Tag: v16.06-rc1~386 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=c5d4dc7f8a612520c59d5eeca9fb88209c4c170e;p=vpp.git Set the ssvm_ethernet interface pid. Otherwise, the recursive lock check breaks in a horrible way. Change-Id: I5c2e69f89152a3f073e678354763086ac7bb7610 Signed-off-by: Dave Barach --- diff --git a/vnet/vnet/devices/ssvm/ssvm_eth.c b/vnet/vnet/devices/ssvm/ssvm_eth.c index aad63f02bba..7d937f07937 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 */);