From: David S. Miller Date: Tue, 31 Jul 2012 22:06:50 +0000 (-0700) Subject: ipv4: Properly purge netdev references on uncached routes. X-Git-Tag: v3.6-rc1~30^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caacf05e5ad1abf0a2864863da4e33024bc68ec6;p=pandora-kernel.git ipv4: Properly purge netdev references on uncached routes. When a device is unregistered, we have to purge all of the references to it that may exist in the entire system. If a route is uncached, we currently have no way of accomplishing this. So create a global list that is scanned when a network device goes down. This mirrors the logic in net/core/dst.c's dst_ifdown(). Signed-off-by: David S. Miller --- Reading git-diff-tree failed