From patchwork Wed Mar 29 10:00:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arushi Singhal X-Patchwork-Id: 744679 X-Patchwork-Delegate: pablo@netfilter.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3vtNb62BBlz9s0m for ; Wed, 29 Mar 2017 21:01:54 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="pn6GgNpm"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755391AbdC2KBH (ORCPT ); Wed, 29 Mar 2017 06:01:07 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:34035 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754941AbdC2KBF (ORCPT ); Wed, 29 Mar 2017 06:01:05 -0400 Received: by mail-pg0-f68.google.com with SMTP id o123so2065343pga.1; Wed, 29 Mar 2017 03:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=O2PumiyUuaU3FKrqkgeQ8JApCLVxdYfvr0ujWJ3vIuQ=; b=pn6GgNpmeEMZcfj8bTHCuMUI/TU+D4QuQeoJBEoukNkvsOwra7lzmc0gB+ppKh8GaG YF2X9QUtQzfG5h/8c51hqK3o2oOAQ6aHADMtObpJBRQxHkWDp6hbG0xOrj3ALJgLwW1p bd+QzwbIkIpAZb+a2/5HrY0O4ctaRAusrzTesBHPjOJ6vQcyS7U3hXRz0723WVHnEr9d cpPvENSsD+h1E1mzXV/WF8NERD+cEeOhuHctUhZHJ+18XF+KktwXUUrRIJAhnNfy1qhM +Cp+LLrw7h6TGyzbLXdzCc8smOzEZh934KcAsmG6iqFPHTnKnZ4yFJfQRp3eTeTW4euy qgFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=O2PumiyUuaU3FKrqkgeQ8JApCLVxdYfvr0ujWJ3vIuQ=; b=TxI9OYL6UxClJN2sh9kPAvRJ7E1qhXL4dCzNuuBAK120A82c/XAb6CJRKNexb1bnhd d6NTF/My/gTUbj6c6FPVyQ5CfSPl3wNwAbcyEM2sMr73swaCa06J0RZGUUKulVjpslFN 7P1DA5Cfj62idBtlNP4SdgyOqWzEeEij94L7o+wgCGWiuoT0hyKO9Giw02TV8Z0Xxca2 TuFPjAFrovrMqFiYiWDzUuc9KUQmxMgP0y3qmcIZhBFDBtob50CmL35BfKK3lvLkxi3M S2MCpz8Oq3fFADxVaf5L5U95M8PSW8KAt3GAXcZIhkdlLNhqSVKMrC3jYfYVGbPRgwZL CuRg== X-Gm-Message-State: AFeK/H2kXfDmiqIC72r58tPJUaDcT05Kq0aGlrLS1M4tUiGVGfQtMKWfXnpYFImG7G1+fA== X-Received: by 10.84.204.8 with SMTP id a8mr41692927ple.4.1490781663901; Wed, 29 Mar 2017 03:01:03 -0700 (PDT) Received: from arushi-HP-Pavilion-Notebook ([14.139.82.6]) by smtp.gmail.com with ESMTPSA id e5sm12568514pga.13.2017.03.29.03.01.02 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Mar 2017 03:01:02 -0700 (PDT) Date: Wed, 29 Mar 2017 15:30:59 +0530 From: Arushi Singhal To: pablo@netfilter.org Cc: Jozsef Kadlecsik , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com Subject: [PATCH] net: netfilterL: Fix line over 80 characters. Message-ID: <20170329100059.GA24750@arushi-HP-Pavilion-Notebook> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org fix the line over 80 characters as reported by checkpatch.pl Signed-off-by: Arushi Singhal --- net/ipv6/netfilter/ip6_tables.c | 6 ++++-- net/ipv6/netfilter/ip6t_SYNPROXY.c | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index ac69ce3bfa1e..b3b94cc80544 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c @@ -81,12 +81,14 @@ ip6_packet_match(const struct sk_buff *skb, &ip6info->dst))) return false; - ret = ifname_compare_aligned(indev, ip6info->iniface, ip6info->iniface_mask); + ret = ifname_compare_aligned(indev, ip6info->iniface, + ip6info->iniface_mask); if (NF_INVF(ip6info, IP6T_INV_VIA_IN, ret != 0)) return false; - ret = ifname_compare_aligned(outdev, ip6info->outiface, ip6info->outiface_mask); + ret = ifname_compare_aligned(outdev, ip6info->outiface, + ip6info->outiface_mask); if (NF_INVF(ip6info, IP6T_INV_VIA_OUT, ret != 0)) return false; diff --git a/net/ipv6/netfilter/ip6t_SYNPROXY.c b/net/ipv6/netfilter/ip6t_SYNPROXY.c index e0fa78085ad7..6b4d1837891b 100644 --- a/net/ipv6/netfilter/ip6t_SYNPROXY.c +++ b/net/ipv6/netfilter/ip6t_SYNPROXY.c @@ -58,7 +58,8 @@ synproxy_send_tcp(struct net *net, fl6.daddr = niph->daddr; fl6.fl6_sport = nth->source; fl6.fl6_dport = nth->dest; - security_skb_classify_flow((struct sk_buff *)skb, flowi6_to_flowi(&fl6)); + security_skb_classify_flow((struct sk_buff *)skb, + flowi6_to_flowi(&fl6)); dst = ip6_route_output(net, NULL, &fl6); if (dst->error) { dst_release(dst);