commit | 9195bb8e381d81d5a315f911904cdf0cfcc919b8 | [log] [tgz] |
---|---|---|
author | Ansis Atteka <aatteka@nicira.com> | Fri Nov 09 17:11:31 2012 -0800 |
committer | Jesse Gross <jesse@nicira.com> | Mon Nov 12 12:31:37 2012 -0800 |
tree | f1abc3ff5c1356b423eb23d7ade698ad61d0f065 | |
parent | f8f626754ebeca613cf1af2e6f890cfde0e74d5b [diff] |
ipv6: improve ipv6_find_hdr() to skip empty routing headers This patch prepares ipv6_find_hdr() function so that it could be able to skip routing headers, where segements_left is 0. This is required to handle multiple routing header case correctly when changing IPv6 addresses. Signed-off-by: Ansis Atteka <aatteka@nicira.com> Signed-off-by: Jesse Gross <jesse@nicira.com>