[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ef263d11-a98e-2f9f-f917-7e022b730e6a@gmail.com>
Date: Sun, 13 Jan 2019 09:08:56 -0700
From: David Ahern <dsahern@...il.com>
To: Joe Perches <joe@...ches.com>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
davem@...emloft.net
Cc: netdev@...r.kernel.org, Roopa Prabhu <roopa@...ulusnetworks.com>
Subject: Re: [PATCH net] ipv6: route: remove duplicated string from error
message
On 1/12/19 2:07 PM, Joe Perches wrote:
> On Sat, 2019-01-12 at 12:45 -0800, Jakub Kicinski wrote:
>> "IPv6: " prefix is already added by pr_fmt, no need to include
>> it again in the pr_warn() format.
> []
>> diff --git a/net/ipv6/route.c b/net/ipv6/route.c
> []
>> @@ -4256,7 +4256,7 @@ static void ip6_print_replace_route_err(struct list_head *rt6_nh_list)
>> struct rt6_nh *nh;
>>
>> list_for_each_entry(nh, rt6_nh_list, next) {
>> - pr_warn("IPV6: multipath route replace failed (check consistency of installed routes): %pI6c nexthop %pI6c ifi %d\n",
>> + pr_warn("multipath route replace failed (check consistency of installed routes): %pI6c nexthop %pI6c ifi %d\n",
>
> Thanks.
>
> Just asking, couldn't this emit a rather long list?
> Perhaps it should be ratelimited?
>
>
That should be converted to an extack message now.
Powered by blists - more mailing lists