From patchwork Wed Feb 21 22:19:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 876406 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="kcItWAMg"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zmsZR33xDz9sWF for ; Thu, 22 Feb 2018 09:28:14 +1100 (AEDT) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id 272BE110E; Wed, 21 Feb 2018 22:28:11 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 00ECE1104 for ; Wed, 21 Feb 2018 22:28:10 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 9EF0220C for ; Wed, 21 Feb 2018 22:28:09 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id z14so1254705pfe.10 for ; Wed, 21 Feb 2018 14:28:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=tV9E1CtMmCMMO1xqbnhuZtY5ht91Pb5sxTmmiohIROc=; b=kcItWAMgMDvQnzYsbFO4TwlhfD1ipgSE5U379yXuZXJOaTQjtnafHIvjgUN6eFHNJD ppit0Evh5ZhG3YP5wOeRb5wmaxbO4N21oi0fJaAROHwoSeclU0MDhn3quYa1kgjlKXhq Jjsu+5s6rDpFmmTybWA4ALE95akKEch7VXolH8Jz7sfzs3Ja8nDJJhz3SkInIY0PtERc 0GB7cA0+dCiy3Q2DSSPa8Q5jbsTRBuT42He/Vg9elnxZORK4tbHzztOwM5j1YAEC0LTb +3sgMJjkTbwL1DiJ7BjFw2TTqvZroLsTvn+OXCDNJZ1EcMvU2ZTU6svDLUVNN8dyRgf9 ndGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=tV9E1CtMmCMMO1xqbnhuZtY5ht91Pb5sxTmmiohIROc=; b=LhWZJKxY/MFCFcbILm1yUpWscX7Z3rImpd4AnTQslLBbvKgdGyq4Q7sDp/EuqqR6Ec oVxqYY/oZvzNrwM6/+1qvH+XcY40xZFgaAWe5WijlsxGMjvO5KuzY0uVZg1+WHAI+vYK pO9dbMxK+ekOxyBcviR7ha7StI2dq2DwtpkyzPqeznx7k7FXNOsMyAlMilEnm356t3gJ wJK31mY0UcfzGDmdycyv2ALechLVHzB4dhgGRLvGpB2ZvP5siMpbIDOj1Vr0kDTS7XDx 0TXHacIq6340n2/l5YdvC24KDtGxdj/ITkZTWoCbFv5r88c5EyUJKb93Y4EtCRGHbmF5 Cf5A== X-Gm-Message-State: APf1xPAVMzNEAkHs+cw2K9URl6XgLxhVaOAu85f++przsoS2HWO9fcWX WgAYaBPM0Q9sMjxHvmJWD78r+KCu X-Google-Smtp-Source: AH8x226MTBSIXc0HgJnYgn2E4C0Xhhy4wcc7IXmftgZZJ9Ddozd9rGxB5wp/OPtv5tKYXIkCbF7s6A== X-Received: by 10.99.130.72 with SMTP id w69mr3850442pgd.368.1519252089068; Wed, 21 Feb 2018 14:28:09 -0800 (PST) Received: from sc9-mailhost2.vmware.com ([208.91.1.34]) by smtp.gmail.com with ESMTPSA id f80sm70159198pfa.176.2018.02.21.14.28.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Feb 2018 14:28:08 -0800 (PST) From: William Tu To: dev@openvswitch.org Date: Wed, 21 Feb 2018 14:19:30 -0800 Message-Id: <1519251571-109146-2-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519251571-109146-1-git-send-email-u9012063@gmail.com> References: <1519251571-109146-1-git-send-email-u9012063@gmail.com> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Subject: [ovs-dev] [PATCH RFC 1/2] erspan: fix compile error for kernel 4.15 X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org Signed-off-by: William Tu --- datapath/linux/compat/include/net/ip6_fib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datapath/linux/compat/include/net/ip6_fib.h b/datapath/linux/compat/include/net/ip6_fib.h index 4d58375958a2..8545f4001f40 100644 --- a/datapath/linux/compat/include/net/ip6_fib.h +++ b/datapath/linux/compat/include/net/ip6_fib.h @@ -30,9 +30,9 @@ static inline u32 rt6_get_cookie(const struct rt6_info *rt) #ifdef HAVE_DST_NOCACHE (unlikely(rt->dst.flags & DST_NOCACHE) && rt->dst.from)) #else - (unlikely(!list_empty(&rt->rt6i_uncached)) && rt->dst.from)) + (unlikely(!list_empty(&rt->rt6i_uncached)) && rt->from)) #endif - rt = (struct rt6_info *)(rt->dst.from); + rt = (struct rt6_info *)(rt->from); return rt->rt6i_node ? rt->rt6i_node->fn_sernum : 0; }