tun: use symmetric hash
commitfeec084a7cf49adb4a87bea9867fb2ba99821f48
authorJason Wang <jasowang@redhat.com>
Tue, 6 Jun 2017 06:09:49 +0000 (6 14:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jun 2017 20:23:31 +0000 (6 16:23 -0400)
tree72b1cc88225820f34fa55ae58ea53a21d3419091
parent5461bd41fd93829fdd726c01f43799c743aba9a0
tun: use symmetric hash

Tun actually expects a symmetric hash for queue selecting to work
correctly, otherwise packets belongs to a single flow may be
redirected to the wrong queue. So this patch switch to use
__skb_get_hash_symmetric().

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c