Skip to content
Commit 41e4e2cd authored by Yi-Hung Wei's avatar Yi-Hung Wei Committed by David S. Miller
Browse files

openvswitch: Fix IPv6 later frags parsing

The previous commit fa642f08


("openvswitch: Derive IP protocol number for IPv6 later frags")
introduces IP protocol number parsing for IPv6 later frags that can mess
up the network header length calculation logic, i.e. nh_len < 0.
However, the network header length calculation is mainly for deriving
the transport layer header in the key extraction process which the later
fragment does not apply.

Therefore, this commit skips the network header length calculation to
fix the issue.

Reported-by: default avatarChris Mi <chrism@mellanox.com>
Reported-by: default avatarGreg Rose <gvrose8192@gmail.com>
Fixes: fa642f08

 ("openvswitch: Derive IP protocol number for IPv6 later frags")
Signed-off-by: default avatarYi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ba3e1847
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment