Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2381956imm; Thu, 2 Aug 2018 10:36:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcIYqWu8snFWNeCL6XQgsAMuVB9F2tTUCq9RTkCnewzwhqinMKHsKwbLpQcKZ5UvBfIXR7T X-Received: by 2002:a63:5624:: with SMTP id k36-v6mr419308pgb.146.1533231381351; Thu, 02 Aug 2018 10:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533231381; cv=none; d=google.com; s=arc-20160816; b=iARpaU/S74oCbRj4BjnBtWOr1STz+lgT14CgTIvwaw+8SbWl62536JlRjwi2LxNTfB alBqz/5oobuGnetcCnZZ6fLW5lUgcHFxy4NEB/ETHKlILFE5ZZmB9X6ZJQTB1HmaLu+O hIDOZl3p1hmDBN9v+Vq1t9mKIGW0jjXp02LMbhWbSKdA1BzZUNKdUxu7Kb43FDcsNHLo wISFD3yNBW/RaQ+X7K5gLePzIlwAph37lP9VOg3WQDMYPd3zsDbyujf4Y9yII1rWs4Lh TqFthFMa7/zPYHMWs0Fcm9dpKp0h5E+kNliGNTbEnMibCYFuGlzaje+upVAJHm3cmM00 YD5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=QY8ntQM1etBxDqVzT+OKcSST+m5qmMQPdO7K3OpC+D0=; b=EoAajwFM/NEkuzOvQvsk5cTGvxAcSJReszY/4pv10Yexl6/gOX2ND0YcCauimhWijt 54hg0bNWmMyLv7ReDrKZFwA5QS3HOb6IhECeUvaiL1sHZl0TWD8dCk1vKC1VNUoad97J qF4P/t440dWAmroZOUIvL+2unDKDBIfdZJCw3aj5qxU1dn2yQtc7j6tzitjzwp2YgWOk ZGF94tl4vzJbId07h8Hx0YNBBcsl7X/dHZfit/VjwrHGmsyGP6d5zVLV6D4cpFg1L7hV 9eKSBM4Z7IlCi++nFq+raEeA8eDIETSty8uMzWzLs0W9cTBqusJ6StKnk9HKeWQyrrp0 yvVg== ARC-Authentication-Results: i=1; mx.google.com; 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 w15-v6si2419513pga.30.2018.08.02.10.36.05; Thu, 02 Aug 2018 10:36:21 -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; 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 S1732322AbeHBT1W (ORCPT + 99 others); Thu, 2 Aug 2018 15:27:22 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:43418 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731202AbeHBT1V (ORCPT ); Thu, 2 Aug 2018 15:27:21 -0400 Received: from localhost (c-24-20-22-31.hsd1.or.comcast.net [24.20.22.31]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id A36A31008D9E7; Thu, 2 Aug 2018 10:35:14 -0700 (PDT) Date: Thu, 02 Aug 2018 10:35:14 -0700 (PDT) Message-Id: <20180802.103514.1528606164810044013.davem@davemloft.net> To: maninder1.s@samsung.com Cc: shuahkh@osg.samsung.com, netdev@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, edumazet@google.com, pankaj.m@samsung.com, a.sahrawat@samsung.com, v.narang@samsung.com Subject: Re: [PATCH 1/1] selftest/net: fix protocol family to work for IPv4. From: David Miller In-Reply-To: <20180802100201epcas5p390bb362ccabaa99087eff88af37bffb2~HCQZjTEZd0101301013epcas5p3C@epcas5p3.samsung.com> References: <20180802100201epcas5p390bb362ccabaa99087eff88af37bffb2~HCQZjTEZd0101301013epcas5p3C@epcas5p3.samsung.com> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 02 Aug 2018 10:35:15 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maninder Singh Date: Thu, 2 Aug 2018 15:27:27 +0530 > use actual protocol family passed by user rather than hardcoded > AF_INTE6 to cerate sockets. > current code is not working for IPv4. > > Signed-off-by: Maninder Singh > Signed-off-by: Vaneet Narang Applied.