diff options
author | Jaime Caamaño Ruiz <jcaamano@suse.com> | 2018-10-31 18:52:03 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-31 18:37:16 -0700 |
commit | 46ebe2834ba5b541f28ee72e556a3fed42c47570 (patch) | |
tree | 9634139a14978a7a81ced6bbf11f4ad3b49baaa4 /net/bpf | |
parent | 30549aab146ccb1275230c3b4b4bc6b4181fd54e (diff) |
openvswitch: Fix push/pop ethernet validation
When there are both pop and push ethernet header actions among the
actions to be applied to a packet, an unexpected EINVAL (Invalid
argument) error is obtained. This is due to mac_proto not being reset
correctly when those actions are validated.
Reported-at:
https://mail.openvswitch.org/pipermail/ovs-discuss/2018-October/047554.html
Fixes: 91820da6ae85 ("openvswitch: add Ethernet push and pop actions")
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
Tested-by: Greg Rose <gvrose8192@gmail.com>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bpf')
0 files changed, 0 insertions, 0 deletions