Skip to content

Commit

Permalink
net: ipv6: ndisc: Neaten ND_PRINTx macros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and David S. Miller committed May 17, 2012
1 parent f342cda commit 675418d
Showing 1 changed file with 91 additions and 125 deletions.
Loading

0 comments on commit 675418d

Please sign in to comment.