Re: [PATCH net-next] openvswitch: Derive IP protocol number for IPv6 later frags

2018-08-13 Thread Yi-Hung Wei
On Mon, Aug 13, 2018 at 10:48 AM William Tu wrote: > > > --- a/net/openvswitch/flow.c > > > +++ b/net/openvswitch/flow.c > > > @@ -297,7 +297,13 @@ static int parse_ipv6hdr(struct sk_buff *skb, struct > > > sw_flow_key *key) > > > > > > nh_len = payload_ofs - nh_ofs; > > > skb_set

Re: [PATCH net-next] openvswitch: Derive IP protocol number for IPv6 later frags

2018-08-13 Thread William Tu
On Sun, Aug 12, 2018 at 6:09 PM Pravin Shelar wrote: > > On Fri, Aug 10, 2018 at 10:19 AM, Yi-Hung Wei wrote: > > 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 trie

Re: [PATCH net-next] openvswitch: Derive IP protocol number for IPv6 later frags

2018-08-12 Thread Pravin Shelar
On Fri, Aug 10, 2018 at 10:19 AM, Yi-Hung Wei wrote: > 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

[PATCH net-next] openvswitch: Derive IP protocol number for IPv6 later frags

2018-08-10 Thread Yi-Hung Wei
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 --- net