[ovs-dev] [PATCH v2] datapath: Validation of IPv6 set port action uses IPv4 header

Jesse Gross jesse at nicira.com
Mon May 7 23:59:22 UTC 2012


On Mon, May 7, 2012 at 4:56 PM, Pravin B Shelar <pshelar at nicira.com> wrote:
> Fixed according to comments from Jesse.
> v1-v2:
>        - Reversed port validity check.
>
> --8<--------------------------cut here-------------------------->8--
>
> When the kernel validates set TCP/UDP port actions, it looks at
> the ports in the existing flow to make sure that the L4 header exists.
> However, these actions always use the IPv4 version of the struct.
> Following patch fixes this by checking for flow ip protocol first.
>
> Signed-off-by: Pravin B Shelar <pshelar at nicira.com>

Acked-by: Jesse Gross <jesse at nicira.com>



More information about the dev mailing list