The new members will be used to deliver virtio-net hash information by tun. The other members are also reordered so that the overall size will not change. Signed-off-by: Akihiko Odaki <akihiko.odaki@xxxxxxxxxx> --- include/net/sch_generic.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index f232512505f8..9dfdc63859c7 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -430,13 +430,15 @@ struct tcf_proto { }; struct qdisc_skb_cb { - struct { - unsigned int pkt_len; - u16 slave_dev_queue_mapping; - u16 tc_classid; - }; #define QDISC_CB_PRIV_LEN 20 unsigned char data[QDISC_CB_PRIV_LEN]; + unsigned int pkt_len; + u16 slave_dev_queue_mapping; + union { + u16 tc_classid; + u16 tun_vnet_hash_report; + }; + u32 tun_vnet_hash_value; }; typedef void tcf_chain_head_change_t(struct tcf_proto *tp_head, void *priv); -- 2.42.0