diff options
author | Tobias Brunner <tobias@strongswan.org> | 2014-07-25 18:07:08 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2014-09-09 10:56:15 +0200 |
commit | f80093e2ee65f6b536a9df83da795fd2f91d77f8 (patch) | |
tree | 09c8372fb81a7d903595be707df0d552462468d5 /src/libcharon/sa/ikev1/tasks/quick_mode.c | |
parent | f8613abc8a89e26ccf33298cbdf8a5e8c4009d1f (diff) | |
download | strongswan-f80093e2ee65f6b536a9df83da795fd2f91d77f8.tar.bz2 strongswan-f80093e2ee65f6b536a9df83da795fd2f91d77f8.tar.xz |
kernel-pfroute: Delete interfaces on RTM_IFANNOUNCE/IFAN_DEPARTURE events
We actually never deleted cached interfaces. So if the kernel reuses
interface indices events for newly created interfaces could have been
associated with interface objects of deactivated and deleted interfaces.
Since we also didn't update the interface name when such an interface
got reactivated we ended up using the old name e.g. to install routes.
A trigger for this was the deletion and recreation of TUN devices during
reauthentication of SAs that use virtual IPs.
Diffstat (limited to 'src/libcharon/sa/ikev1/tasks/quick_mode.c')
0 files changed, 0 insertions, 0 deletions