Later qdisc_skb_cb will be used to deliver virtio-net hash information for tun. Signed-off-by: Akihiko Odaki <akihiko.odaki@xxxxxxxxxx> --- net/core/dev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/core/dev.c b/net/core/dev.c index 85df22f05c38..305fb465cc1e 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3622,6 +3622,7 @@ static struct sk_buff *validate_xmit_skb(struct sk_buff *skb, struct net_device if (netif_needs_gso(skb, features)) { struct sk_buff *segs; + BUILD_BUG_ON(sizeof(struct qdisc_skb_cb) > SKB_GSO_CB_OFFSET); segs = skb_gso_segment(skb, features); if (IS_ERR(segs)) { goto out_kfree_skb; -- 2.42.0