]> git.baikalelectronics.ru Git - kernel.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)
commit6d7b03e7d3a1a03f82e980d279546d20c8161ad3
tree289cd898e894410cf76450986a4275957943bb58
parent59fc9ff96b4fd9d87331223f506bff5d56d1b092
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