diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2013-06-17 22:36:49 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-17 22:58:11 (GMT) |
commit | 93725cbd22ed716bea8dc479b4925d40a4dbd0c6 (patch) | |
tree | c598fcb86140fded02aa0554bbb1fb0e5b5d6229 /fs/read_write.c | |
parent | 7aa27238417a34ec9be2d8eff05ceff319f2d39b (diff) | |
download | linux-fsl-qoriq-93725cbd22ed716bea8dc479b4925d40a4dbd0c6.tar.xz |
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: Olaf Hering <olaf@aepfle.de>
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>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions