[ovs-dev] [PATCH 2/2] Track ethertype changes for learn_parse()

Jesse Gross jesse at nicira.com
Thu May 2 04:42:18 UTC 2013


On Wed, May 1, 2013 at 1:11 AM, Simon Horman <horms at verge.net.au> wrote:
> learn_parse() needs to know the current ethertype, including any
> updates made by MPLS push and pop actions in order to determine if
> access to fields is valid or not.
>
> Changes made to ethertype my VLAN push and pop actions are excluded
> from this logic as they do not effect the behaviour of learn_parse.
>
> Signed-off-by: Simon Horman <horms at verge.net.au>

It seems like it may be better to just fully separate out parsing from
validation here like is done with the other actions and avoid the
issue altogether.



More information about the dev mailing list