ipv6: route: place a warning with duplicated string with correct extack
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 14 Jan 2019 18:52:45 +0000 (10:52 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2019 22:06:34 +0000 (14:06 -0800)
commita5a82d841186d13c4a6d500dfcf7d02b4195e3ff
tree2fca4e777d08ac1e2e40f8c588c013ab37af665e
parent91fa038d9446b5bf5ea80822790af7dd9bcbb5a2
ipv6: route: place a warning with duplicated string with correct extack

"IPv6: " prefix is already added by pr_fmt, no need to include
it again in the pr_warn() format.  The message predates extack
support, we can replace the whole thing with an extack message.

Suggested-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c