projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e3d716
)
[8021Q]: vlan_dev misannotations
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 18 Mar 2008 05:49:48 +0000
(22:49 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 18 Mar 2008 05:49:48 +0000
(22:49 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan_dev.c
patch
|
blob
|
history
diff --git
a/net/8021q/vlan_dev.c
b/net/8021q/vlan_dev.c
index 77f04e49a1a077013d2be6a1acd8f32c65559dc5..8fbcefe10c9fde2ff66a2a78fcced415bc5238cf 100644
(file)
--- a/
net/8021q/vlan_dev.c
+++ b/
net/8021q/vlan_dev.c
@@
-382,7
+382,7
@@
static int vlan_dev_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
vlan_dev_info(dev)->cnt_encap_on_xmit++;
pr_debug("%s: proto to encap: 0x%hx\n",
- __FUNCTION__,
hton
s(veth->h_vlan_proto));
+ __FUNCTION__,
ntoh
s(veth->h_vlan_proto));
/* Construct the second two bytes. This field looks something
* like:
* usr_priority: 3 bits (high bits)