From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8F25C1396D0 for ; Tue, 22 Aug 2017 10:02:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D98611FC00D; Tue, 22 Aug 2017 10:02:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B75461FC00D for ; Tue, 22 Aug 2017 10:02:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 25DEE341C23 for ; Tue, 22 Aug 2017 10:02:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C05CD7E6C for ; Tue, 22 Aug 2017 10:02:46 +0000 (UTC) From: "Fabio Rossi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabio Rossi" Message-ID: <1503396120.d04316bedfd9d97e1c2c0f98bcfdfbb82e6fc679.fabio@gentoo> Subject: [gentoo-commits] proj/vmware:master commit in: app-emulation/vmware-modules/files/, app-emulation/vmware-modules/ X-VCS-Repository: proj/vmware X-VCS-Files: app-emulation/vmware-modules/files/308-4.13-00-vmnet-refcount.patch app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild X-VCS-Directories: app-emulation/vmware-modules/ app-emulation/vmware-modules/files/ X-VCS-Committer: fabio X-VCS-Committer-Name: Fabio Rossi X-VCS-Revision: d04316bedfd9d97e1c2c0f98bcfdfbb82e6fc679 X-VCS-Branch: master Date: Tue, 22 Aug 2017 10:02:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e2eb5dfa-3785-4e68-a15f-a7dd864b54ad X-Archives-Hash: 0cbeef4e8c611473e1c989c9358fc6f6 commit: d04316bedfd9d97e1c2c0f98bcfdfbb82e6fc679 Author: Fabio Rossi inwind it> AuthorDate: Tue Aug 22 10:02:00 2017 +0000 Commit: Fabio Rossi inwind net> CommitDate: Tue Aug 22 10:02:00 2017 +0000 URL: https://gitweb.gentoo.org/proj/vmware.git/commit/?id=d04316be app-emulation/vmware-modules: add support to kernel 4.13 for version 12 .../vmware-modules/files/308-4.13-00-vmnet-refcount.patch | 11 +++++++++++ app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild | 1 + 2 files changed, 12 insertions(+) diff --git a/app-emulation/vmware-modules/files/308-4.13-00-vmnet-refcount.patch b/app-emulation/vmware-modules/files/308-4.13-00-vmnet-refcount.patch new file mode 100644 index 0000000..0a1d835 --- /dev/null +++ b/app-emulation/vmware-modules/files/308-4.13-00-vmnet-refcount.patch @@ -0,0 +1,11 @@ +--- vmnet-only/bridge.c 2017-06-20 04:54:39.000000000 +0200 ++++ vmnet-only/bridge.c.new 2017-08-18 11:16:20.979974593 +0200 +@@ -636,7 +636,7 @@ + unsigned long flags; + int i; + +- atomic_inc(&clone->users); ++ refcount_inc(&clone->users); + + clone->dev = dev; + clone->protocol = eth_type_trans(clone, dev); diff --git a/app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild b/app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild index ad6b45c..59ce990 100644 --- a/app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild +++ b/app-emulation/vmware-modules/vmware-modules-308.5.7.ebuild @@ -110,6 +110,7 @@ src_prepare() { kernel_is ge 4 12 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.12-00-vmblock-current_time.patch" kernel_is ge 4 12 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.12-01-vmci-do_once.patch" kernel_is ge 4 12 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.12-02-vmci-pci_enable_msix.patch" + kernel_is ge 4 13 0 && epatch "${FILESDIR}/${PV_MAJOR}-4.13-00-vmnet-refcount.patch" # Allow user patches so they can support RC kernels and whatever else epatch_user