Skip to content
Commit 93725cbd authored by Haiyang Zhang's avatar Haiyang Zhang Committed by David S. Miller
Browse files

Fix the VLAN_TAG_PRESENT in netvsc_recv_callback()



We should call __vlan_hwaccel_put_tag() only if the packet
comes from vlan, otherwise VLAN_TAG_PRESENT will always be
added.

Reported-by: default avatarOlaf Hering <olaf@aepfle.de>
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7aa27238
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment