Re: [PATCH net] ipv6: Don't call with rt6_uncached_list_flush_dev
From: Martin KaFai Lau
Date: Mon Oct 12 2015 - 20:03:13 EST
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 <kafai@xxxxxx>
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 <kafai@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/