diff options
author | Hannes Frederic Sowa <[email protected]> | 2014-01-16 20:13:04 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-01-17 18:10:01 -0800 |
commit | 11ffff752c6a5adc86f7dd397b2f75af8f917c51 (patch) | |
tree | 857e74e69def8f491d7d3eca9ee84497122cd81f /tools/perf/util/trace-event-scripting.c | |
parent | 77f99ad16a07aa062c2d30fae57b1fee456f6ef6 (diff) |
ipv6: simplify detection of first operational link-local address on interface
In commit 1ec047eb4751e3 ("ipv6: introduce per-interface counter for
dad-completed ipv6 addresses") I build the detection of the first
operational link-local address much to complex. Additionally this code
now has a race condition.
Replace it with a much simpler variant, which just scans the address
list when duplicate address detection completes, to check if this is
the first valid link local address and send RS and MLD reports then.
Fixes: 1ec047eb4751e3 ("ipv6: introduce per-interface counter for dad-completed ipv6 addresses")
Reported-by: Jiri Pirko <[email protected]>
Cc: Flavio Leitner <[email protected]>
Signed-off-by: Hannes Frederic Sowa <[email protected]>
Acked-by: Flavio Leitner <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions