[PATCH net] Fix the VLAN_TAG_PRESENT in netvsc_recv_callback()

2013-06-17 Thread Haiyang Zhang
We should call __vlan_hwaccel_put_tag() only if the packet comes from vlan, otherwise VLAN_TAG_PRESENT will always be added. Reported-by: Olaf Hering o...@aepfle.de Signed-off-by: Haiyang Zhang haiya...@microsoft.com Reviewed-by: K. Y. Srinivasan k...@microsoft.com ---

Re: [PATCH net] Fix the VLAN_TAG_PRESENT in netvsc_recv_callback()

2013-06-17 Thread David Miller
From: Haiyang Zhang haiya...@microsoft.com Date: Mon, 17 Jun 2013 15:36:49 -0700 We should call __vlan_hwaccel_put_tag() only if the packet comes from vlan, otherwise VLAN_TAG_PRESENT will always be added. Reported-by: Olaf Hering o...@aepfle.de Signed-off-by: Haiyang Zhang