summaryrefslogtreecommitdiffstats
path: root/vppapigen/node.c
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2017-01-03 12:44:15 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-03 15:15:27 +0000
commit81c09d03d8d8f37867f776ecf29a6c205883c4d9 (patch)
tree6a97c987d839d95d4b2adea00fe29dd14bb5a910 /vppapigen/node.c
parentb4f252586690ad07c909b9e7aa2f401a848d641c (diff)
VPP-574: fix VPP hang during security group configuration on a suspended VM
The unix connect() in vhost-user driver in VPP is blocking, and a non-expedient accept() on the other side causes the entire VPP to hang. Solution: set the nonblocking flag for the socket fd before calling connect(), and set the socket back to blocking after the accept() succeeds. Change-Id: I2d535ea9b95a92922d305d79a8d860062c95faf4 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'vppapigen/node.c')
0 files changed, 0 insertions, 0 deletions