]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
hyperv: Add handling of IP header with option field in netvsc_set_hash()
authorHaiyang Zhang <haiyangz@microsoft.com>
Thu, 16 Oct 2014 21:47:58 +0000 (14:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Oct 2014 03:43:40 +0000 (23:43 -0400)
commitf88e67149f97d73c704d6fe6f492edde97463025
tree3f7fa7be6589fa32d74d2c7c0c3e82bde97a3968
parentf47de068f68db91b89e0d3335230d07e02da8727
hyperv: Add handling of IP header with option field in netvsc_set_hash()

In case that the IP header has optional field at the end, this patch will
get the port numbers after that field, and compute the hash. The general
parser skb_flow_dissect() is used here.

Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c