[strongSwan-dev] [PATCH] fix network interface deletion handling

Martin Willi martin at strongswan.org
Mon Nov 14 15:59:51 CET 2011


Hi,

> > There should be no reason to keep a stale cache entry around, as was
> > claimed in the comment.
> 
> I'm not sure why the comment referred to "down" interfaces in the
> RMT_DELLINK handler, perhaps older kernel versions behaved differently?
> Martin, could you provide some insight into this?

I don't know if older kernels behaved differently, but at least my 3.0
kernel indicates ifup/ifdown events both with RTM_NEWLINK. So the pushed
patch should work fine even if the address of a down interface changes.

Regards
Martin





More information about the Dev mailing list