Re: [PATCH net-next] tuntap: hardware vlan tx support

From: Stephen Hemminger
Date: Tue Jul 23 2013 - 11:53:21 EST


On Tue, 23 Jul 2013 15:15:48 +0800
Jason Wang <jasowang@xxxxxxxxxx> wrote:

> + struct {
> + __be16 h_vlan_proto;
> + __be16 h_vlan_TCI;
> + } veth;

Don't you want to use struct vlan_hdr here?
Your definition puts the two fields out of order?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/