aboutsummaryrefslogtreecommitdiff
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-06-27 23:06:33 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-29 12:29:39 -0700
commit759d095741721888b6ee51afa74e0a66ce65e974 (patch)
treee668baad90b87328024e25d93cf65ca7e8e5cce4 /net/ipv6/tcp_ipv6.c
parent3099c59db0f2d6b85389af5ac652569bac3f1ee8 (diff)
downloadlinux-759d095741721888b6ee51afa74e0a66ce65e974.tar.gz
linux-759d095741721888b6ee51afa74e0a66ce65e974.tar.bz2
linux-759d095741721888b6ee51afa74e0a66ce65e974.zip
r8169: improve handling VLAN tag
The VLAN tag is stored in the descriptor in network byte order. Using swab16 works on little endian host systems only. Better play safe and use ntohs or htons respectively. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions