Hi,
v2:
- Taking Chengyi's rtnl patch into this patchset. The patch
sets service type to unknown if the interface's /sys/class/net
file disappears
v1:
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
Chengyi Zhao (1):
rtnl: Set the service type to unknown if the related interface can
not be found
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 | 33 +++++-----
src/service.c | 35 ++++++----
src/technology.c | 14 +++-
vpn/vpn-rtnl.c | 3 -
7 files changed, 174 insertions(+), 134 deletions(-)
--
1.7.11.7
_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman