Re: [net-next v2] ipv6: sr: extract the right key values for "seg6_make_flowlabel"

2018-04-30 Thread David Miller
From: Ahmed Abdelsalam Date: Sat, 28 Apr 2018 12:18:35 +0200 > The seg6_make_flowlabel() is used by seg6_do_srh_encap() to compute the > flowlabel from a given skb. It relies on skb_get_hash() which eventually > calls __skb_flow_dissect() to extract the flow_keys struct values from > the skb. >

[net-next v2] ipv6: sr: extract the right key values for "seg6_make_flowlabel"

2018-04-28 Thread Ahmed Abdelsalam
The seg6_make_flowlabel() is used by seg6_do_srh_encap() to compute the flowlabel from a given skb. It relies on skb_get_hash() which eventually calls __skb_flow_dissect() to extract the flow_keys struct values from the skb. In case of IPv4 traffic, calling seg6_make_flowlabel() after skb_push(),