aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ppp/node.c
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2017-01-03 16:52:22 +0000
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-03 18:25:32 +0000
commit0c3d467df4c5651df03895d06444f6e830e9688c (patch)
treec5b1dba94a448403517de2e07ad2a48b372fb07b /src/vnet/ppp/node.c
parentddcc99ebc9789b198532a2d6cdb3e29256fa58e4 (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: Ia5ee782037eeffabdad71db8241f476a048a4f6f Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vnet/ppp/node.c')
0 files changed, 0 insertions, 0 deletions