]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tun, rfs: fix the incorrect hash value
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Thu, 2 Jan 2014 05:24:28 +0000 (13:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 07:41:22 +0000 (02:41 -0500)
commitfbe4d4565badba393a94927e16ae66654a025dca
tree289cd898e894410cf76450986a4275957943bb58
parent56022a8fdd874c56bb61d8c82559e43044d1aa06
tun, rfs: fix the incorrect hash value

The code incorrectly save the queue index as the hash, so this patch
is fixing it with the hash received in the stack receive path.

Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c