Re: [PATCH net] route: check and remove route cache when we get route

2016-02-18 Thread David Miller
From: Xin Long Date: Thu, 18 Feb 2016 21:21:19 +0800 > Since the gc of ipv4 route was removed, the route cached would has > no chance to be removed, and even it has been timeout, it still could > be used, cause no code to check it's expires. > > Fix this issue by checking and removing route cac

[PATCH net] route: check and remove route cache when we get route

2016-02-18 Thread Xin Long
Since the gc of ipv4 route was removed, the route cached would has no chance to be removed, and even it has been timeout, it still could be used, cause no code to check it's expires. Fix this issue by checking and removing route cache when we get route. Signed-off-by: Xin Long Acked-by: Hannes