Finish annotations of struct vlan_ethhdr
Subsystems (2)
PATCH 13/16 Finish annotations of struct vlan_ethhdr
From: Alexey Dobriyan <[email protected]>
Date: Wed, 28 Dec 2005 22:27:10 +0300
Signed-off-by Alexey Dobriyan <[email protected]>
Signed-off-by Al Viro <[email protected]>
--- include/linux/if_vlan.h | 2 +- net/8021q/vlan_dev.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
include/linux/if_vlan.h +1 -1
@@ -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>
net/8021q/vlan_dev.c +1 -1
@@ -62,7 +62,7 @@ #endifdefault :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 ;
Signature · 1 line
1.4.2.GIT
David Miller
maintainerFrom: Al Viro <[email protected]>
Date: Tue, 10 Oct 2006 23:38:55 +0100
Quoted 5 lines
From: Alexey Dobriyan <[email protected]>
Date: Wed, 28 Dec 2005 22:27:10 +0300Signed-off-by Alexey Dobriyan <[email protected]>Signed-off-by Al Viro <[email protected]>
Signed-off-by David S. Miller <[email protected]>