Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp578502imm; Mon, 2 Jul 2018 17:50:17 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJvxfGg+BuWeBWSSdcZPOYeiM+XiTv1zwBqaUy0z7654gAA33JGQs52mqJUezKPKYf23KaR X-Received: by 2002:a63:bc0a:: with SMTP id q10-v6mr23516212pge.70.1530579016971; Mon, 02 Jul 2018 17:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530579016; cv=none; d=google.com; s=arc-20160816; b=FGawrgHQxqT8oqUVBEnb93Nxd5aFc7JcCosFRLAy5tKcT4BUPhik5tfKgkp3t5LSlg qI9dmzBLtnBNbWoGDbB89EW3YjchSlbvA6awyQwV9GuGw1cgipcuNT/eeKnDs4sSlI6C jruBISoNZrLd5iCME1ejVdCmg4EoNcMlTwjaQ8QqesXQpkKkWHkkwwIZXH1IYKvcewM8 VUKX6NMwFg9cfivsVJrsfV0kULEmL4ttooz7Tsvo26MkGW9cn/q6wWtW/HGEGYXbA9Vj KaakdzLYrJT9TFyPVp9C4N6298/UgxWumcD7ofB/YN2/9Dp0ER6X8/+ZROSvSxrr2FgC 3VUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:subject:cc:to :from:date:dkim-signature:arc-authentication-results; bh=kOfrWj1xS7coU5kxDYfCVOUArSFq4tLUMHh8oNo20oc=; b=OGOfHkxErJFbHMoczu20tDfaKTCbZYyY4C/u7WL2c06VWYHNVVmZ1+5Zy+hfkBQJHx 6F3MknYLyfjXdbDgFsUoU0k3puM7oiqjnZiZ7zIbRMuuog0/ktQrgt2GAvgkZRTXnF9U dcEdGFcBVo8VGhW2ypJTWi4RaY8UiTowGPWdHGrmz7Bk4ECAAQOnpkfLgv9EzjYZoAVF LbiQNvSaR4zA0O2ktxC7GuFmtxXzAbVBG/wCOMmPHMr0nhn67hGoW6um/IS44RfCvxrR heSAXBkf4KQ/3a+jVzJ+sLkI3zVnurcQFlY7vgXAfmPx3tT7aSd7N+v21ZdHZuGqZv01 ct4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=WHj3MsbU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2-v6si14987764pgp.347.2018.07.02.17.49.32; Mon, 02 Jul 2018 17:50:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=WHj3MsbU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753533AbeGCArZ (ORCPT + 99 others); Mon, 2 Jul 2018 20:47:25 -0400 Received: from ozlabs.org ([203.11.71.1]:38973 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753281AbeGCArY (ORCPT ); Mon, 2 Jul 2018 20:47:24 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPSA id 41KQST4V8Pz9s29; Tue, 3 Jul 2018 10:47:21 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1530578842; bh=GnPK9roTtaQ04M1r7/U5rIGN0/Zu8IYT9NeC2CarZus=; h=Date:From:To:Cc:Subject:From; b=WHj3MsbUAnvhpfMw3WLNKeyB1guew46IMzbx503HjollWTCtcWeRVNlH8pRGm3zsH 4Y1zk0mrd+/2RRQq7Dl0TwrGbwo7EOvEJABOzOayIFGMXDmmmHlw+b3lNjMIArOT2x oVIbCE8gLlc71kNFPh2wYNG0gP1nzVjKgCK4deRfcWrATdzTpJduOyZ3rEFCTz8xuX ArHsp4aFVMBLqZsiW0ANSlRUYQg6qRgBMD8Tl/PThBUj/1KH9pQn9QJu3SPbQBwIFN mvP4+1G8EV4EDp7XVwSBNsakPPn0KE4omrUBZ6BLunmt4hIIyIXo0nxF0obq83LQ5f w8VyUX1ye5MTw== Date: Tue, 3 Jul 2018 10:47:12 +1000 From: Stephen Rothwell To: David Miller , Networking Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Sabrina Dubroca Subject: linux-next: build failure after merge of the net-next tree Message-ID: <20180703104712.30a36f1a@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/UcNzjmxphxljKWWSpn/O1qz"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/UcNzjmxphxljKWWSpn/O1qz Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this: net/ipv4/fou.c: In function 'gue_gro_receive': net/ipv4/fou.c:451:35: error: passing argument 2 of 'skb_gro_flush_final_re= mcsum' from incompatible pointer type [-Werror=3Dincompatible-pointer-types] skb_gro_flush_final_remcsum(skb, pp, flush, &grc); ^~ In file included from include/net/inet_sock.h:23:0, from include/linux/udp.h:20, from net/ipv4/fou.c:6: include/linux/netdevice.h:2799:20: note: expected 'struct sk_buff **' but a= rgument is of type 'struct sk_buff *' static inline void skb_gro_flush_final_remcsum(struct sk_buff *skb, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/net/vxlan.c: In function 'vxlan_gro_receive': drivers/net/vxlan.c:627:35: error: passing argument 2 of 'skb_gro_flush_fin= al_remcsum' from incompatible pointer type [-Werror=3Dincompatible-pointer-= types] skb_gro_flush_final_remcsum(skb, pp, flush, &grc); ^~ In file included from include/net/inet_sock.h:23:0, from include/linux/udp.h:20, from drivers/net/vxlan.c:17: include/linux/netdevice.h:2799:20: note: expected 'struct sk_buff **' but a= rgument is of type 'struct sk_buff *' static inline void skb_gro_flush_final_remcsum(struct sk_buff *skb, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Caused by commit d4546c2509b1 ("net: Convert GRO SKB handling to list_head.") from the net-next tree interacting with commit 603d4cf8fe09 ("net: fix use-after-free in GRO with ESP") from Linus' tree. I took a guess and aplied the following merge fix patch: From: Stephen Rothwell Date: Tue, 3 Jul 2018 10:37:05 +1000 Subject: [PATCH] net: update for conversion of GRO SKB handling Signed-off-by: Stephen Rothwell --- include/linux/netdevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index e1d4084c0651..64480a0f2c16 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2797,7 +2797,7 @@ static inline void skb_gro_flush_final(struct sk_buff= *skb, struct sk_buff *pp, NAPI_GRO_CB(skb)->flush |=3D flush; } static inline void skb_gro_flush_final_remcsum(struct sk_buff *skb, - struct sk_buff **pp, + struct sk_buff *pp, int flush, struct gro_remcsum *grc) { @@ -2813,7 +2813,7 @@ static inline void skb_gro_flush_final(struct sk_buff= *skb, struct sk_buff *pp, NAPI_GRO_CB(skb)->flush |=3D flush; } static inline void skb_gro_flush_final_remcsum(struct sk_buff *skb, - struct sk_buff **pp, + struct sk_buff *pp, int flush, struct gro_remcsum *grc) { --=20 2.17.1 --=20 Cheers, Stephen Rothwell --Sig_/UcNzjmxphxljKWWSpn/O1qz Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAls6x5AACgkQAVBC80lX 0Gyirwf+N2tlY1eLSPdJC+Nsg5OXWD0uXLtpyQzNYwKmGEBTGL86oabLV5VkcJZ0 3d92vYhKxlhrqj8I3LLpw+9xjjtB6RImV596hJZjnDIpBUxwVG2WX3PH/4BMpyRp u914A9R1C0NuVADc7mZk1EdVRu4Ai7H2L0tvEbIkzQj5zIAAKsZu726syOwlwN9x FnCziI5zABGk//RTVDtxhuhfuUb6DHgjDQNUC2xOl9/cVEmxoJiw7fTXjTYu6/kX ooxzKE5lMfEWXPUN4gaId/KUnMJaOGTYKhRxVivWmPo3NJOiVPLyRcXeoqtMM6dy +Toy0V4SnEUm5e3L1snuuN6kjjyTMA== =UgTG -----END PGP SIGNATURE----- --Sig_/UcNzjmxphxljKWWSpn/O1qz--