diff options
Diffstat (limited to 'net/ipv6')
| -rw-r--r-- | net/ipv6/addrlabel.c | 10 | ||||
| -rw-r--r-- | net/ipv6/ah6.c | 2 | ||||
| -rw-r--r-- | net/ipv6/esp6.c | 2 | ||||
| -rw-r--r-- | net/ipv6/exthdrs.c | 2 | ||||
| -rw-r--r-- | net/ipv6/icmp.c | 2 | ||||
| -rw-r--r-- | net/ipv6/ip6mr.c | 2 | ||||
| -rw-r--r-- | net/ipv6/ipcomp6.c | 2 | ||||
| -rw-r--r-- | net/ipv6/ndisc.c | 2 | ||||
| -rw-r--r-- | net/ipv6/netfilter/ip6t_LOG.c | 2 | ||||
| -rw-r--r-- | net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c | 2 | ||||
| -rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
11 files changed, 15 insertions, 15 deletions
diff --git a/net/ipv6/addrlabel.c b/net/ipv6/addrlabel.c index d28036659d2..6ff73c4c126 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); |
diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c index 9bc43f2527c..7a8a01369e5 100644 --- a/net/ipv6/ah6.c +++ b/net/ipv6/ah6.c | |||
| @@ -419,7 +419,7 @@ static void ah6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, | |||
| 419 | if (!x) | 419 | if (!x) |
| 420 | return; | 420 | return; |
| 421 | 421 | ||
| 422 | NETDEBUG(KERN_DEBUG "pmtu discovery on SA AH/%08x/%p6\n", | 422 | NETDEBUG(KERN_DEBUG "pmtu discovery on SA AH/%08x/%pI6\n", |
| 423 | ntohl(ah->spi), &iph->daddr); | 423 | ntohl(ah->spi), &iph->daddr); |
| 424 | 424 | ||
| 425 | xfrm_state_put(x); | 425 | xfrm_state_put(x); |
diff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c index ec4be188c34..c02a6308def 100644 --- a/net/ipv6/esp6.c +++ b/net/ipv6/esp6.c | |||
| @@ -367,7 +367,7 @@ static void esp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, | |||
| 367 | x = xfrm_state_lookup((xfrm_address_t *)&iph->daddr, esph->spi, IPPROTO_ESP, AF_INET6); | 367 | x = xfrm_state_lookup((xfrm_address_t *)&iph->daddr, esph->spi, IPPROTO_ESP, AF_INET6); |
| 368 | if (!x) | 368 | if (!x) |
| 369 | return; | 369 | return; |
| 370 | printk(KERN_DEBUG "pmtu discovery on SA ESP/%08x/%p6\n", | 370 | printk(KERN_DEBUG "pmtu discovery on SA ESP/%08x/%pI6\n", |
| 371 | ntohl(esph->spi), &iph->daddr); | 371 | ntohl(esph->spi), &iph->daddr); |
| 372 | xfrm_state_put(x); | 372 | xfrm_state_put(x); |
| 373 | } | 373 | } |
diff --git a/net/ipv6/exthdrs.c b/net/ipv6/exthdrs.c index a8905146835..1c7f400a3cf 100644 --- a/net/ipv6/exthdrs.c +++ b/net/ipv6/exthdrs.c | |||
| @@ -219,7 +219,7 @@ static int ipv6_dest_hao(struct sk_buff *skb, int optoff) | |||
| 219 | 219 | ||
| 220 | if (!(ipv6_addr_type(&hao->addr) & IPV6_ADDR_UNICAST)) { | 220 | if (!(ipv6_addr_type(&hao->addr) & IPV6_ADDR_UNICAST)) { |
| 221 | LIMIT_NETDEBUG( | 221 | LIMIT_NETDEBUG( |
| 222 | KERN_DEBUG "hao is not an unicast addr: %p6\n", &hao->addr); | 222 | KERN_DEBUG "hao is not an unicast addr: %pI6\n", &hao->addr); |
| 223 | goto discard; | 223 | goto discard; |
| 224 | } | 224 | } |
| 225 | 225 | ||
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index b3fa38e40dc..3c2821f9b52 100644 --- a/net/ipv6/icmp.c +++ b/net/ipv6/icmp.c | |||
| @@ -681,7 +681,7 @@ static int icmpv6_rcv(struct sk_buff *skb) | |||
| 681 | skb->csum = ~csum_unfold(csum_ipv6_magic(saddr, daddr, skb->len, | 681 | skb->csum = ~csum_unfold(csum_ipv6_magic(saddr, daddr, skb->len, |
| 682 | IPPROTO_ICMPV6, 0)); | 682 | IPPROTO_ICMPV6, 0)); |
| 683 | if (__skb_checksum_complete(skb)) { | 683 | if (__skb_checksum_complete(skb)) { |
| 684 | LIMIT_NETDEBUG(KERN_DEBUG "ICMPv6 checksum failed [%p6 > %p6]\n", | 684 | LIMIT_NETDEBUG(KERN_DEBUG "ICMPv6 checksum failed [%pI6 > %pI6]\n", |
| 685 | saddr, daddr); | 685 | saddr, daddr); |
| 686 | goto discard_it; | 686 | goto discard_it; |
| 687 | } | 687 | } |
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 798e6a29dd8..c491fb98a5e 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c | |||
| @@ -297,7 +297,7 @@ static int ipmr_mfc_seq_show(struct seq_file *seq, void *v) | |||
| 297 | const struct mfc6_cache *mfc = v; | 297 | const struct mfc6_cache *mfc = v; |
| 298 | const struct ipmr_mfc_iter *it = seq->private; | 298 | const struct ipmr_mfc_iter *it = seq->private; |
| 299 | 299 | ||
| 300 | seq_printf(seq, "%p6 %p6 %-3d %8ld %8ld %8ld", | 300 | seq_printf(seq, "%pI6 %pI6 %-3d %8ld %8ld %8ld", |
| 301 | &mfc->mf6c_mcastgrp, &mfc->mf6c_origin, | 301 | &mfc->mf6c_mcastgrp, &mfc->mf6c_origin, |
| 302 | mfc->mf6c_parent, | 302 | mfc->mf6c_parent, |
| 303 | mfc->mfc_un.res.pkt, | 303 | mfc->mfc_un.res.pkt, |
diff --git a/net/ipv6/ipcomp6.c b/net/ipv6/ipcomp6.c index 9566d8f7314..d4576a9c154 100644 --- a/net/ipv6/ipcomp6.c +++ b/net/ipv6/ipcomp6.c | |||
| @@ -67,7 +67,7 @@ static void ipcomp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, | |||
| 67 | if (!x) | 67 | if (!x) |
| 68 | return; | 68 | return; |
| 69 | 69 | ||
| 70 | printk(KERN_DEBUG "pmtu discovery on SA IPCOMP/%08x/%p6\n", | 70 | printk(KERN_DEBUG "pmtu discovery on SA IPCOMP/%08x/%pI6\n", |
| 71 | spi, &iph->daddr); | 71 | spi, &iph->daddr); |
| 72 | xfrm_state_put(x); | 72 | xfrm_state_put(x); |
| 73 | } | 73 | } |
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 191bb0722a7..2a6752dae09 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c | |||
| @@ -647,7 +647,7 @@ static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb) | |||
| 647 | 647 | ||
| 648 | if ((probes -= neigh->parms->ucast_probes) < 0) { | 648 | if ((probes -= neigh->parms->ucast_probes) < 0) { |
| 649 | if (!(neigh->nud_state & NUD_VALID)) { | 649 | if (!(neigh->nud_state & NUD_VALID)) { |
| 650 | ND_PRINTK1(KERN_DEBUG "%s(): trying to ucast probe in NUD_INVALID: %p6\n", | 650 | ND_PRINTK1(KERN_DEBUG "%s(): trying to ucast probe in NUD_INVALID: %pI6\n", |
| 651 | __func__, target); | 651 | __func__, target); |
| 652 | } | 652 | } |
| 653 | ndisc_send_ns(dev, neigh, target, target, saddr); | 653 | ndisc_send_ns(dev, neigh, target, target, saddr); |
diff --git a/net/ipv6/netfilter/ip6t_LOG.c b/net/ipv6/netfilter/ip6t_LOG.c index a61ce301000..02885e8bb69 100644 --- a/net/ipv6/netfilter/ip6t_LOG.c +++ b/net/ipv6/netfilter/ip6t_LOG.c | |||
| @@ -61,7 +61,7 @@ static void dump_packet(const struct nf_loginfo *info, | |||
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | /* Max length: 88 "SRC=0000.0000.0000.0000.0000.0000.0000.0000 DST=0000.0000.0000.0000.0000.0000.0000.0000 " */ | 63 | /* Max length: 88 "SRC=0000.0000.0000.0000.0000.0000.0000.0000 DST=0000.0000.0000.0000.0000.0000.0000.0000 " */ |
| 64 | printk("SRC=%p6 DST=%p6 ", &ih->saddr, &ih->daddr); | 64 | printk("SRC=%pI6 DST=%pI6 ", &ih->saddr, &ih->daddr); |
| 65 | 65 | ||
| 66 | /* Max length: 44 "LEN=65535 TC=255 HOPLIMIT=255 FLOWLBL=FFFFF " */ | 66 | /* Max length: 44 "LEN=65535 TC=255 HOPLIMIT=255 FLOWLBL=FFFFF " */ |
| 67 | printk("LEN=%Zu TC=%u HOPLIMIT=%u FLOWLBL=%u ", | 67 | printk("LEN=%Zu TC=%u HOPLIMIT=%u FLOWLBL=%u ", |
diff --git a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c index b165a273c6c..727b9530448 100644 --- a/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c +++ b/net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c | |||
| @@ -56,7 +56,7 @@ static bool ipv6_invert_tuple(struct nf_conntrack_tuple *tuple, | |||
| 56 | static int ipv6_print_tuple(struct seq_file *s, | 56 | static int ipv6_print_tuple(struct seq_file *s, |
| 57 | const struct nf_conntrack_tuple *tuple) | 57 | const struct nf_conntrack_tuple *tuple) |
| 58 | { | 58 | { |
| 59 | return seq_printf(s, "src=%p6 dst=%p6 ", | 59 | return seq_printf(s, "src=%pI6 dst=%pI6 ", |
| 60 | tuple->src.u3.ip6, tuple->dst.u3.ip6); | 60 | tuple->src.u3.ip6, tuple->dst.u3.ip6); |
| 61 | } | 61 | } |
| 62 | 62 | ||
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 483550cfdf3..984276463a8 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
| @@ -872,7 +872,7 @@ static int tcp_v6_inbound_md5_hash (struct sock *sk, struct sk_buff *skb) | |||
| 872 | 872 | ||
| 873 | if (genhash || memcmp(hash_location, newhash, 16) != 0) { | 873 | if (genhash || memcmp(hash_location, newhash, 16) != 0) { |
| 874 | if (net_ratelimit()) { | 874 | if (net_ratelimit()) { |
| 875 | printk(KERN_INFO "MD5 Hash %s for (%p6, %u)->(%p6, %u)\n", | 875 | printk(KERN_INFO "MD5 Hash %s for (%pI6, %u)->(%pI6, %u)\n", |
| 876 | genhash ? "failed" : "mismatch", | 876 | genhash ? "failed" : "mismatch", |
| 877 | &ip6h->saddr, ntohs(th->source), | 877 | &ip6h->saddr, ntohs(th->source), |
| 878 | &ip6h->daddr, ntohs(th->dest)); | 878 | &ip6h->daddr, ntohs(th->dest)); |
