diff options
Diffstat (limited to 'net/ipv6/addrlabel.c')
-rw-r--r-- | net/ipv6/addrlabel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv6/addrlabel.c b/net/ipv6/addrlabel.c index d28036659d27..6ff73c4c126a 100644 --- a/net/ipv6/addrlabel.c +++ b/net/ipv6/addrlabel.c | |||
@@ -186,7 +186,7 @@ u32 ipv6_addr_label(struct net *net, | |||
186 | label = p ? p->label : IPV6_ADDR_LABEL_DEFAULT; | 186 | label = p ? p->label : IPV6_ADDR_LABEL_DEFAULT; |
187 | rcu_read_unlock(); | 187 | rcu_read_unlock(); |
188 | 188 | ||
189 | ADDRLABEL(KERN_DEBUG "%s(addr=%p6, type=%d, ifindex=%d) => %08x\n", | 189 | ADDRLABEL(KERN_DEBUG "%s(addr=%pI6, type=%d, ifindex=%d) => %08x\n", |
190 | __func__, addr, type, ifindex, label); | 190 | __func__, addr, type, ifindex, label); |
191 | 191 | ||
192 | return label; | 192 | return label; |
@@ -201,7 +201,7 @@ static struct ip6addrlbl_entry *ip6addrlbl_alloc(struct net *net, | |||
201 | struct ip6addrlbl_entry *newp; | 201 | struct ip6addrlbl_entry *newp; |
202 | int addrtype; | 202 | int addrtype; |
203 | 203 | ||
204 | ADDRLABEL(KERN_DEBUG "%s(prefix=%p6, prefixlen=%d, ifindex=%d, label=%u)\n", | 204 | ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d, label=%u)\n", |
205 | __func__, prefix, prefixlen, ifindex, (unsigned int)label); | 205 | __func__, prefix, prefixlen, ifindex, (unsigned int)label); |
206 | 206 | ||
207 | addrtype = ipv6_addr_type(prefix) & (IPV6_ADDR_MAPPED | IPV6_ADDR_COMPATv4 | IPV6_ADDR_LOOPBACK); | 207 | addrtype = ipv6_addr_type(prefix) & (IPV6_ADDR_MAPPED | IPV6_ADDR_COMPATv4 | IPV6_ADDR_LOOPBACK); |
@@ -289,7 +289,7 @@ static int ip6addrlbl_add(struct net *net, | |||
289 | struct ip6addrlbl_entry *newp; | 289 | struct ip6addrlbl_entry *newp; |
290 | int ret = 0; | 290 | int ret = 0; |
291 | 291 | ||
292 | ADDRLABEL(KERN_DEBUG "%s(prefix=%p6, prefixlen=%d, ifindex=%d, label=%u, replace=%d)\n", | 292 | ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d, label=%u, replace=%d)\n", |
293 | __func__, prefix, prefixlen, ifindex, (unsigned int)label, | 293 | __func__, prefix, prefixlen, ifindex, (unsigned int)label, |
294 | replace); | 294 | replace); |
295 | 295 | ||
@@ -313,7 +313,7 @@ static int __ip6addrlbl_del(struct net *net, | |||
313 | struct hlist_node *pos, *n; | 313 | struct hlist_node *pos, *n; |
314 | int ret = -ESRCH; | 314 | int ret = -ESRCH; |
315 | 315 | ||
316 | ADDRLABEL(KERN_DEBUG "%s(prefix=%p6, prefixlen=%d, ifindex=%d)\n", | 316 | ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d)\n", |
317 | __func__, prefix, prefixlen, ifindex); | 317 | __func__, prefix, prefixlen, ifindex); |
318 | 318 | ||
319 | hlist_for_each_entry_safe(p, pos, n, &ip6addrlbl_table.head, list) { | 319 | hlist_for_each_entry_safe(p, pos, n, &ip6addrlbl_table.head, list) { |
@@ -337,7 +337,7 @@ static int ip6addrlbl_del(struct net *net, | |||
337 | struct in6_addr prefix_buf; | 337 | struct in6_addr prefix_buf; |
338 | int ret; | 338 | int ret; |
339 | 339 | ||
340 | ADDRLABEL(KERN_DEBUG "%s(prefix=%p6, prefixlen=%d, ifindex=%d)\n", | 340 | ADDRLABEL(KERN_DEBUG "%s(prefix=%pI6, prefixlen=%d, ifindex=%d)\n", |
341 | __func__, prefix, prefixlen, ifindex); | 341 | __func__, prefix, prefixlen, ifindex); |
342 | 342 | ||
343 | ipv6_addr_prefix(&prefix_buf, prefix, prefixlen); | 343 | ipv6_addr_prefix(&prefix_buf, prefix, prefixlen); |