]> 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)
commit85516e61baca0e89aa3f219a80851868b44bb604
tree289cd898e894410cf76450986a4275957943bb58
parent33b869792262b91bf9a6430f61ff4d03066c248d
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