Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756915AbcDGQxs (ORCPT ); Thu, 7 Apr 2016 12:53:48 -0400 Received: from mail.us.es ([193.147.175.20]:54199 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756099AbcDGQxq (ORCPT ); Thu, 7 Apr 2016 12:53:46 -0400 Date: Thu, 7 Apr 2016 18:53:42 +0200 From: Pablo Neira Ayuso To: Haishuang Yan Cc: "David S. Miller" , Alexey Kuznetsov , James Morris , netdev@vger.kernel.org, coreteam@netfilter.org, netfilter-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [netfilter-core] [PATCH] netfilter: unnecessary to check whether ip6_route_output() returns NULL Message-ID: <20160407165342.GA5598@salvia> References: <1459692213-3948-1-git-send-email-yanhaishuang@cmss.chinamobile.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1459692213-3948-1-git-send-email-yanhaishuang@cmss.chinamobile.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 187 Lines: 5 On Sun, Apr 03, 2016 at 10:03:33PM +0800, Haishuang Yan wrote: > ip6_route_output() never returns NULL, so it is not appropriate to > check if the return value is NULL. Applied, thanks.