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-11-12 18:13:32 -05:00
2011-04-22 11:04:14 -07:00
2011-10-13 16:05:07 -04:00
2011-10-19 03:10:46 -04:00
2011-10-19 03:10:46 -04:00
2011-02-01 15:35:25 -08:00
2011-11-18 14:38:59 -05:00
2011-06-08 17:05:30 -07:00
2011-03-31 11:26:23 -03:00
2011-10-24 17:36:08 -04:00
2011-03-31 11:26:23 -03:00
2011-10-24 17:36:08 -04:00
2010-10-27 11:37:32 -07:00
2011-11-02 00:51:27 -04:00
2010-07-12 12:57:54 -07:00