flow_dissector: change port array into src, dst tuple
Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
67a900cc04
commit
59346afe7a
@@ -700,8 +700,8 @@ static inline void ip6_set_txhash(struct sock *sk)
|
||||
|
||||
keys.addrs.src = (__force __be32)ipv6_addr_hash(&np->saddr);
|
||||
keys.addrs.dst = (__force __be32)ipv6_addr_hash(&sk->sk_v6_daddr);
|
||||
keys.ports.port16[0] = inet->inet_sport;
|
||||
keys.ports.port16[1] = inet->inet_dport;
|
||||
keys.ports.src = inet->inet_sport;
|
||||
keys.ports.dst = inet->inet_dport;
|
||||
|
||||
sk->sk_txhash = flow_hash_from_keys(&keys);
|
||||
}
|
||||
|
Reference in New Issue
Block a user