Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3726948imm; Sun, 13 May 2018 18:57:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqulsgZc8rRnFj88HqgnVRMVGQs6QeN2XDjAMIhzHMqfGdEvqRUCwp851MYAgIYbx/UCRf5 X-Received: by 2002:a17:902:7241:: with SMTP id c1-v6mr7730413pll.217.1526263055886; Sun, 13 May 2018 18:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526263055; cv=none; d=google.com; s=arc-20160816; b=L3sckERuG8+hmJD7lnDKq0JksT7s8ZzyrypcJT8Dq2FwSi3TYkux5bC0agMBvKGBAe 74ngvhQh6m1G64/UfB914f4ScQN//EGL6J2CxdsjTIF0lL8GLXll9cLSikWeUeMt+6pb 6qJSVEot8sh6KtTPB2NNHwSlmprFYp2n8a00gO7fuC60Gw1zcAr51E0VgoKuWPHmxKxt 22ei26irLLKhd0v+4jLpsl9VEB/hiwsQjSFkJIcVfbK1iXOeoP/X5hPhieeh6+KC3LIQ RdIgiaKm9HfFQYWtbyKNHkic1zWsurJLwmyzXDBKacfWAIF38I3jxzdXrn4LGRQPVihg Mmug== 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=4df7XbubovzAlP1X+z80w1L7chmXTQs77/50Rso1ucQ=; b=rgXCz83Qcic/eAfYj0ETpL7E811Ffr9R4OcizaEviBb+a4MdtR8JsamHkWEuAzBDh7 H+dD2MobuAatvILwkuACcyWlyBOORdP1q14MYKvEPiGpip86+nO3PfQEGsBOJlX1kReG i1K+KlgKkVjLsXNm0ecTDR6ZTZbGsVW4BE3fgek/9PqTFD4Vkei2/ec8Az6B3UEfRjsS wKKcApCD72U3IDvfFCBXyYsgQMnM/goOUoHSk6ThsiuxJXea/ElzjT4gsUGeCxoX74HJ yoqkU+ypWPMYhuvDFJ9cqx0cCg0zFKyb5QGHvcnG52NLU+FdrZriBCtSFzWZ2BKLrpOP mImg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=FwPqQR2C; 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 f8-v6si8360278plr.471.2018.05.13.18.57.21; Sun, 13 May 2018 18:57:35 -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=FwPqQR2C; 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 S1752045AbeENB5G (ORCPT + 99 others); Sun, 13 May 2018 21:57:06 -0400 Received: from ozlabs.org ([203.11.71.1]:51275 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751853AbeENB5E (ORCPT ); Sun, 13 May 2018 21:57:04 -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 40kkMx60DMz9s0q; Mon, 14 May 2018 11:57:01 +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=1526263022; bh=TDvsWObbzp+f1T1656XHcaUBHgc9SeCd8KuhIaFRtWc=; h=Date:From:To:Cc:Subject:From; b=FwPqQR2C1xT0ZNKCWU5Qgp5gishDF7d3AVEt0ViIQQ5116g1R2ZYPS2ked3Qw/rFr t4F05Y04Hk33QQzyhQ5V50x48lrDyusG12vZD93wC9ksHp7DlvdpWPKdZvuTLqEEM7 ck/i9lrvzEHrwwRrQFjLHLuT3OBMY73igOCSHQcsWfRwq7i68jTpkH+sbbnBW9voQC PL3y2eN9Kk/NcNU29JgVVNSbm/j2L9gLIb8qVIdz81tXt8ytjfhteDK+ABeMbSOqHv QMbtTJAzssaxevUEq+GtNdWyx5lkR2XZa2r+4MvbFMdcp3TrRfLy7JhRQyVEC+NI08 CoGP4IDyILtqQ== Date: Mon, 14 May 2018 11:57:00 +1000 From: Stephen Rothwell To: Daniel Borkmann , Alexei Starovoitov , Networking Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Jakub Kicinski Subject: linux-next: manual merge of the bpf-next tree with the bpf tree Message-ID: <20180514115700.0faadd6f@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/0zqOct13ybwqAHaIe_T.X2i"; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/0zqOct13ybwqAHaIe_T.X2i Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the bpf-next tree got a conflict in: tools/lib/bpf/libbpf.c between commit: 3597683c9da6 ("tools: bpf: handle NULL return in bpf_prog_load_xattr()") from the bpf tree and commit: 17387dd5ac2c ("tools: bpf: don't complain about no kernel version for net= working code") from the bpf-next tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc tools/lib/bpf/libbpf.c index 8da4eeb101a6,df54c4c9e48a..000000000000 --- a/tools/lib/bpf/libbpf.c +++ b/tools/lib/bpf/libbpf.c @@@ -2163,9 -2193,12 +2193,12 @@@ int bpf_prog_load_xattr(const struct bp =20 if (!attr) return -EINVAL; + if (!attr->file) + return -EINVAL; =20 - obj =3D bpf_object__open(attr->file); + obj =3D __bpf_object__open(attr->file, NULL, 0, + bpf_prog_type__needs_kver(attr->prog_type)); - if (IS_ERR(obj)) + if (IS_ERR_OR_NULL(obj)) return -ENOENT; =20 bpf_object__for_each_program(prog, obj) { --Sig_/0zqOct13ybwqAHaIe_T.X2i Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAlr47OwACgkQAVBC80lX 0GxZUQgAiLxjLkXzSOpYKbMoc4IeL0Lb9efzWO+2C8SR61CaUptHmUh8X4bNP2v+ +QKj/i0Y+yyU9Z9SMbhtFpA0toFxNBMRTTvyO+6H4g9Wh1g3goHGjo6t05pvoIAF ogBVyk6xF94JSQ6avm9UyxrI67bksiAsck3q+Jk6Nzuzo7cjmR4Ge7ALrzZDGk2B nHlBnki4p6t42WHcD5vwdI8xd20FIm1wKBElvwS4f6mOz/II6ujbL4ILf0PjNpZ4 3g1fqqcRiWYWiGx1JkBiH+vvINwpVgr7Lok9tSgkiynmc/VZIPguUeAgAW53rxve Fzj4ZN3ricH72G5kXzUGLGnlH/CHnw== =JkS+ -----END PGP SIGNATURE----- --Sig_/0zqOct13ybwqAHaIe_T.X2i--