Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/netvsc: fix VLAN metadata parsing
[ upstream commit f7654c8c13f46ab537e8220ea4d6b4911f9f0fd5 ] The previous code incorrectly parsed the VLAN ID and priority. If the 16-bits of VLAN ID and priority/CFI on the wire was 0123456789ABCDEF the code parsed it as 456789ABCDEF3012. There were macros defined to handle this conversion but they were not used. Fixes: 4e9c73e ("net/netvsc: add Hyper-V network device") Signed-off-by: Alan Elder <alan.elder@microsoft.com> Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
- Loading branch information