On 10/14/16 6:21 AM, David Ahern wrote: >> So you might need to let the caller pass IP6CB(skb)->flags (or >> TCP_SKB_CB(skb)->header.h6.flags ) instead of skb since >> inet6_exact_dif_match() does not know where to fetch the flags. >> >> Same issue for IPv4. > > I'll update the match functions to pull from TCP_SKB_CB instead of IP6CB and > make a note of the above.
IPv6 does the move after the socket lookup where IPv4 does it before.