Message ID | 20231008052101.144422-3-akihiko.odaki@daynix.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | tun: Introduce virtio-net hashing feature | expand |
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;
Later qdisc_skb_cb will be used to deliver virtio-net hash information for tun. Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> --- net/core/dev.c | 1 + 1 file changed, 1 insertion(+)