Eric Dumazet de68dca181 inet: add a redirect generation id in inetpeer
Now inetpeer is the place where we cache redirect information for ipv4
destinations, we must be able to invalidate informations when a route is
added/removed on host.

As inetpeer is not yet namespace aware, this patch adds a shared
redirect_genid, and a per inetpeer redirect_genid. This might be changed
later if inetpeer becomes ns aware.

Cache information for one inerpeer is valid as long as its
redirect_genid has the same value than global redirect_genid.

Reported-by: Arkadiusz Miśkiewicz <a.miskiewicz@gmail.com>
Tested-by: Arkadiusz Miśkiewicz <a.miskiewicz@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-26 19:16:37 -05:00
..
2011-03-31 11:26:23 -03:00
2011-08-13 01:10:16 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-11-08 15:02:44 -05:00
2011-05-05 11:10:14 -07:00
2010-06-03 03:21:52 -07:00
2009-03-21 19:06:54 -07:00
2010-10-27 11:37:32 -07:00
2011-03-31 11:26:23 -03:00
2011-07-26 16:49:47 -07:00
2011-07-17 23:11:35 -07:00
2010-10-25 13:09:45 -07:00
2010-10-27 11:37:32 -07:00
2011-03-31 11:26:23 -03:00
2011-09-16 19:20:20 -04:00
2011-07-26 16:49:47 -07:00
2010-06-03 03:21:52 -07:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-05-17 14:16:58 -04:00
2011-01-24 15:32:47 -08:00
2009-03-21 19:06:50 -07:00
2011-06-11 16:23:59 -07:00
2009-10-07 16:39:43 -04:00
2011-03-31 11:26:23 -03:00
2010-11-28 11:12:20 -08:00