diff options
author | Eric Dumazet <[email protected]> | 2011-11-26 12:13:44 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2011-11-26 19:16:37 -0500 |
commit | de68dca1816660b0d3ac89fa59ffb410007a143f (patch) | |
tree | 9a31e87c6e0504627df25d3a1d39ca7825dcd779 /tools/perf/scripts/python/sched-migration.py | |
parent | 0884d7aa24e15e72b3c07f7da910a13bb7df3592 (diff) |
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 <[email protected]>
Tested-by: Arkadiusz Miśkiewicz <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions