summaryrefslogtreecommitdiff
path: root/net/ipv6/esp6.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2012-05-15 14:11:54 +0000
committerDavid S. Miller <davem@davemloft.net>2012-05-16 01:01:03 -0400
commit91df42bedccb919902c7cf7eb876c982ae7f1b1d (patch)
treea941627c25c941b8f26d20d2c214ff2004eae356 /net/ipv6/esp6.c
parentf32138319ca6541e65f95f8e17c9cc88ac1baf94 (diff)
downloadlinux-3.10-91df42bedccb919902c7cf7eb876c982ae7f1b1d.tar.gz
linux-3.10-91df42bedccb919902c7cf7eb876c982ae7f1b1d.tar.bz2
linux-3.10-91df42bedccb919902c7cf7eb876c982ae7f1b1d.zip
net: ipv4 and ipv6: Convert printk(KERN_DEBUG to pr_debug
Use the current debugging style and enable dynamic_debug. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/esp6.c')
-rw-r--r--net/ipv6/esp6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c
index 6697eb0fba5..1e62b7557b0 100644
--- a/net/ipv6/esp6.c
+++ b/net/ipv6/esp6.c
@@ -444,8 +444,8 @@ static void esp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
esph->spi, IPPROTO_ESP, AF_INET6);
if (!x)
return;
- printk(KERN_DEBUG "pmtu discovery on SA ESP/%08x/%pI6\n",
- ntohl(esph->spi), &iph->daddr);
+ pr_debug("pmtu discovery on SA ESP/%08x/%pI6\n",
+ ntohl(esph->spi), &iph->daddr);
xfrm_state_put(x);
}