On 6/26/20 12:51 PM, Ilya Maximets wrote:
> If dp-packet contains l2 padding or cutlen was applied to it, size will
> be larger than the actual size of a payload and action will work
> incorrectly.
> 
> Ex. Padding could be added during miniflow_extract() if detected.
> 
> CC: Numan Siddique <[email protected]>
> Fixes: 5b34f8fc3b38 ("Add a new OVS action check_pkt_larger")
> Reported-by: Miroslav Kubiczek <[email protected]>
> Reported-at: 
> https://mail.openvswitch.org/pipermail/ovs-discuss/2020-May/050157.html
> Signed-off-by: Ilya Maximets <[email protected]>
> ---
> 
> Version 2:
>   - Using dp_packet_get_send_len() to account cutlen.


Thanks, Dumitru and Flavio!

Applied.
Backported to 2.13 and 2.12.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to