hyperv: Fix vlan_proto setting in netvsc_recv_callback()
authorHaiyang Zhang <haiyangz@microsoft.com>
Tue, 28 May 2013 06:15:56 +0000 (06:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Jun 2013 00:33:40 +0000 (17:33 -0700)
commitc802db1164f28e62c6a43132b8d290cb8113f2ac
tree383fffb7649d1b3c665d04c68a2cd59e5da73e9a
parent3f3e7ce4ff87c8ea69acaa7700699fb26baa2914
hyperv: Fix vlan_proto setting in netvsc_recv_callback()

Since the recent addition of 8021AD, we need to set the new field vlan_proto in
sk_buff. Otherwise, it will trigger BUG() call in vlan_proto_idx().

This patch fixes the problem.

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