diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-11-26 12:13:44 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-12-09 08:56:07 -0800 |
commit | 9c8da5125682191090bf32917a6bfba3d711492d (patch) | |
tree | 02f5556e185a6ba177c37aa25fb42268d7ff6c53 /COPYING | |
parent | 427814da7d68739ec2c53a9433f62323c68ef34d (diff) | |
download | lwn-9c8da5125682191090bf32917a6bfba3d711492d.tar.gz lwn-9c8da5125682191090bf32917a6bfba3d711492d.zip |
inet: add a redirect generation id in inetpeer
[ Upstream commit de68dca1816660b0d3ac89fa59ffb410007a143f ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions