ASoC: wm_adsp: Use correct local length in error message
[deliverable/linux.git] / net / ipv4 / ip_output.c
index 512a44778cf2f9f9e2b594bdb6c996a43c33645a..64878efa045c132d1ce511c326c2da04fc77a895 100644 (file)
@@ -239,6 +239,7 @@ static int ip_finish_output_gso(struct net *net, struct sock *sk,
         * from host network stack.
         */
        features = netif_skb_features(skb);
+       BUILD_BUG_ON(sizeof(*IPCB(skb)) > SKB_SGO_CB_OFFSET);
        segs = skb_gso_segment(skb, features & ~NETIF_F_GSO_MASK);
        if (IS_ERR_OR_NULL(segs)) {
                kfree_skb(skb);
This page took 0.026356 seconds and 5 git commands to generate.