summaryrefslogtreecommitdiff
path: root/cfg-version
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2011-02-01 10:27:27 -0800
committerBob Gilligan <gilligan@vyatta.com>2011-02-01 10:52:23 -0800
commita85d727c301007fb6fff667e6899bcbc00d7b2be (patch)
tree998ce27b8ec8105e695038a4ca7de4c93ba098e7 /cfg-version
parent18d8258e7b7191e5358f1e99999a3721eb9ef167 (diff)
downloadvyatta-cfg-system-a85d727c301007fb6fff667e6899bcbc00d7b2be.tar.gz
vyatta-cfg-system-a85d727c301007fb6fff667e6899bcbc00d7b2be.zip
Bugfix 6156: Allow time for renaming to complete before running biosdevname
It appears that biosdevname can be confused if interface renaming is being performed by other udev worker processes at the same time that it is running. Since vyatta_net_name does protect the body of its code with a lock, we can be sure that no other renaming will be started in other udev worker processes while this one is running in vyatta_net_name. But renaming being performed by other udev worker processes that were triggered by previous executions of vyatta_net_name may still be in progress. This change gives any interface renaming that was called for by previous invocations of vyatta_net_name a chance to complete before we call biosdevname. (cherry picked from commit 9dd41e8481e84bf80fcb0e9c3d7843c8a0b20059)
Diffstat (limited to 'cfg-version')
0 files changed, 0 insertions, 0 deletions