Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39259
b: refs/heads/master
c: d136fe7
h: refs/heads/master
i:
  39257: d4d591f
  39255: 7f168ea
v: v3
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Oct 10, 2006
1 parent e91cea6 commit a2acd2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d02d48d8650bf3e2011f25373dbcf87f3c19f16b
refs/heads/master: d136fe7243081a45a141bb297a7b7a627ab60fa9
2 changes: 1 addition & 1 deletion trunk/include/linux/if_vlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct vlan_ethhdr {
unsigned char h_source[ETH_ALEN]; /* source ether addr */
__be16 h_vlan_proto; /* Should always be 0x8100 */
__be16 h_vlan_TCI; /* Encapsulates priority and VLAN ID */
unsigned short h_vlan_encapsulated_proto; /* packet type ID field (or len) */
__be16 h_vlan_encapsulated_proto; /* packet type ID field (or len) */
};

#include <linux/skbuff.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/8021q/vlan_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ int vlan_dev_rebuild_header(struct sk_buff *skb)
default:
printk(VLAN_DBG
"%s: unable to resolve type %X addresses.\n",
dev->name, (int)veth->h_vlan_encapsulated_proto);
dev->name, ntohs(veth->h_vlan_encapsulated_proto));

memcpy(veth->h_source, dev->dev_addr, ETH_ALEN);
break;
Expand Down

0 comments on commit a2acd2e

Please sign in to comment.