Home
last modified time | relevance | path

Searched hist:"41 e4e2cd75346667b0c531c07dab05cce5b06d15" (Results 1 – 1 of 1) sorted by relevance

/linux/net/openvswitch/
H A Dflow.cdiff 41e4e2cd75346667b0c531c07dab05cce5b06d15 Thu Jan 03 18:51:57 CET 2019 Yi-Hung Wei <yihung.wei@gmail.com> openvswitch: Fix IPv6 later frags parsing

The previous commit fa642f08839b
("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: Chris Mi <chrism@mellanox.com>
Reported-by: Greg Rose <gvrose8192@gmail.com>
Fixes: fa642f08839b ("openvswitch: Derive IP protocol number for IPv6 later frags")
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>