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)
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

Simple merge