Drop entries cached for interface we're going to delete
authorRafał Miłecki <rafal@milecki.pl>
Mon, 20 Mar 2017 11:54:50 +0000 (12:54 +0100)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 20 Mar 2017 12:31:25 +0000 (13:31 +0100)
commite1bacef27d869234149951cc7f4c9d3e0d8f07ad
treec55dd290be269e6bc08959b0a3e222ebab6a6836
parent496aeba797c7d0246e88eedadff080fcaffd9013
Drop entries cached for interface we're going to delete

Since we free memory with struct interface we can't keep
referencing/using it in cached records or services.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: John Crispin <john@phrozen.org>
interface.c