diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-06-23 18:33:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-24 23:34:58 +0200 |
commit | 17843655708e1941c0653af3cd61be6948e36f43 (patch) | |
tree | fc7df6f5773112c10ada2f8df8a4310a7271b31c /net/dsa | |
parent | Merge branch 'Two-phylink-pause-fixes' (diff) | |
download | linux-17843655708e1941c0653af3cd61be6948e36f43.tar.xz linux-17843655708e1941c0653af3cd61be6948e36f43.zip |
openvswitch: take into account de-fragmentation/gso_size in execute_check_pkt_len
ovs connection tracking module performs de-fragmentation on incoming
fragmented traffic. Take info account if traffic has been de-fragmented
in execute_check_pkt_len action otherwise we will perform the wrong
nested action considering the original packet size. This issue typically
occurs if ovs-vswitchd adds a rule in the pipeline that requires connection
tracking (e.g. OVN stateful ACLs) before execute_check_pkt_len action.
Moreover take into account GSO fragment size for GSO packet in
execute_check_pkt_len routine
Fixes: 4d5ec89fc8d14 ("net: openvswitch: Add a new action check_pkt_len")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions