net: ipv6: ndisc: Neaten ND_PRINTx macros
authorJoe Perches <joe@perches.com>
Wed, 16 May 2012 19:28:38 +0000 (19:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2012 09:00:04 +0000 (05:00 -0400)
commit675418d5187785d3d996ca15fd700f5e02901cbc
tree9771e8a4b13307051a7af653b68d4726956b962a
parentf342cda7789381236a6c94926a9ca177a9098867
net: ipv6: ndisc: Neaten ND_PRINTx macros

Why use several macros when one will do?

Convert the multiple ND_PRINTKx macros to a single
ND_PRINTK macro.  Use the new net_<level>_ratelimited
mechanism too.

Add pr_fmt with "ICMPv6: " as prefix.
Remove embedded ICMPv6 prefixes from messages.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c