openvswitch: Derive IP protocol number for IPv6 later frags
authorYi-Hung Wei <yihung.wei@gmail.com>
Tue, 4 Sep 2018 22:33:41 +0000 (15:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Sep 2018 04:47:49 +0000 (21:47 -0700)
commitfa642f08839bf2ff35b2f6c6a6c062aee8121ba8
tree614f8e78c4ee31a3d26a5a7a545a0df7977fc863
parentddc4d236dc71b255ff4cb8394f5fce2739a1d138
openvswitch: Derive IP protocol number for IPv6 later frags

Currently, OVS only parses the IP protocol number for the first
IPv6 fragment, but sets the IP protocol number for the later fragments
to be NEXTHDF_FRAGMENT.  This patch tries to derive the IP protocol
number for the IPV6 later frags so that we can match that.

Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/flow.c