datapath: improve ipv6_find_hdr() function for IPv6 'set' action
authorAnsis Atteka <aatteka@nicira.com>
Tue, 6 Nov 2012 15:12:38 +0000 (17:12 +0200)
committerAnsis Atteka <aatteka@nicira.com>
Tue, 6 Nov 2012 19:07:23 +0000 (21:07 +0200)
commit69048036099e86e058f8122efdf18053fd4c4141
treec2e0d6c4dab1218a5cbdc6f107109e94819ca84d
parent1f1936d935e8012ff24fed3d309cd7ef955790dd
datapath: improve ipv6_find_hdr() function for IPv6 'set' action

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 for us to handle multiple routing header case correctly.

Signed-off-by: Ansis Atteka <aatteka@nicira.com>
datapath/linux/compat/exthdrs_core.c
datapath/linux/compat/include/net/ipv6.h