connect-script double call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2014-04-13 at 00:40 +0800, Steve wrote:
> Hi, Nikos
> 
> Still not work: vpns1: error fetching interface information: Device not found
> 
> Only the first disconnect could gather info from the device, the next
> disconnections never do it.

There is a race condition there. As the script runs into the background
there can be that the device is closed prior to the script accessing it.
I've now modified the worker process cleanup to involve an extra
transition to state dead prior to complete cleanup. That should give
time for the script to execute.

regards,
Nikos





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux