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:06:49 +0000 (21:06 +0200)
commit248a2130b0374d046057b2995c645c23172d4b84
treec2c95c59ec9bd19cb3880f032d763d0bc92caf1c
parent1007d8acad106fb508ccfdb84ca5bbdc491efc6c
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