From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932125AbbJMADJ (ORCPT ); Mon, 12 Oct 2015 20:03:09 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:28075 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752159AbbJMADH (ORCPT ); Mon, 12 Oct 2015 20:03:07 -0400 Date: Mon, 12 Oct 2015 17:02:21 -0700 From: Martin KaFai Lau To: "Eric W. Biederman" CC: David Miller , Dmitry Vyukov , , , , Patrick McHardy , , LKML , , Kostya Serebryany , Alexander Potapenko , Andrey Konovalov , Sasha Levin , Eric Dumazet , Maciej =?utf-8?Q?=C5=BBenczykowski?= , Eric Dumazet Subject: Re: [PATCH net] ipv6: Don't call with rt6_uncached_list_flush_dev Message-ID: <20151013000221.GD88112@canlin-mbp1.DHCP.thefacebook.com> References: <1444652652.27760.158.camel@edumazet-glaptop2.roam.corp.google.com> <87wpusoz27.fsf_-_@x220.int.ebiederm.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <87wpusoz27.fsf_-_@x220.int.ebiederm.org> User-Agent: Mutt/1.5.23.1 (2014-03-12) X-Originating-IP: [192.168.52.123] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-10-13_02:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 12, 2015 at 11:02:08AM -0500, Eric W. Biederman wrote: > > As originally written rt6_uncached_list_flush_dev makes no sense when > called with dev == NULL as it attempts to flush all uncached routes > regardless of network namespace when dev == NULL. Which is simply > incorrect behavior. Thanks for fixing it. Reviewed-by: Martin KaFai Lau I also tested the following cases with the presence of DST_NOCACHE entries: 1. rmmod e1000.ko while running netperf 2. unshare(CLONE_NEWNET) as reported by Dmitry Tested-by: Martin KaFai Lau