Hi,

this patchset tries to minimize the risk of race conditions
when interface name is changed. This issue was already tackled
by commit 98919ac6cbc7535309d308363a249a0cdfe0af22 but if the
rtnl messages come in wrong order, then it is possible that we
miss the interface name change.

In order to avoid this race, we only use the interface index
which cannot change and only convert to interface name when
needed.


Cheers,
Jukka


Jukka Rissanen (5):
  vpn: Removed unused interface name variable
  technology: Do not use interface name when removing interface
  technology: Do not use interface name when adding interface
  rtnl: Do not remember interface name
  ipconfig: Do not remember interface name

 src/connman.h    |  21 +++---
 src/ipconfig.c   | 193 +++++++++++++++++++++++++++++++------------------------
 src/ipv6pd.c     |   9 +--
 src/rtnl.c       |  28 ++++----
 src/service.c    |  35 ++++++----
 src/technology.c |  14 +++-
 vpn/vpn-rtnl.c   |   3 -
 7 files changed, 170 insertions(+), 133 deletions(-)

-- 
1.7.11.7

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to