ebpf: remove vlan_hdr alignement

If we align the vlan_hdr then we increase its size and the parsing
of packets with VLAN tag is broken.
pull/3263/head
Eric Leblond 7 years ago committed by Victor Julien
parent 39754a976a
commit cd98d7ddcc

@ -45,7 +45,7 @@
struct vlan_hdr {
__u16 h_vlan_TCI;
__u16 h_vlan_encapsulated_proto;
} __attribute__((__aligned__(8))) ;
};
struct flowv4_keys {
__u32 src;

Loading…
Cancel
Save