flow_dissect: use programable dissector in skb_flow_dissect and friends
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
fbff949e3b
commit
06635a35d1
@@ -360,10 +360,10 @@ static inline void inet_set_txhash(struct sock *sk)
|
||||
struct inet_sock *inet = inet_sk(sk);
|
||||
struct flow_keys keys;
|
||||
|
||||
keys.src = inet->inet_saddr;
|
||||
keys.dst = inet->inet_daddr;
|
||||
keys.port16[0] = inet->inet_sport;
|
||||
keys.port16[1] = inet->inet_dport;
|
||||
keys.addrs.src = inet->inet_saddr;
|
||||
keys.addrs.dst = inet->inet_daddr;
|
||||
keys.ports.port16[0] = inet->inet_sport;
|
||||
keys.ports.port16[1] = inet->inet_dport;
|
||||
|
||||
sk->sk_txhash = flow_hash_from_keys(&keys);
|
||||
}
|
||||
|
Reference in New Issue
Block a user