mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
net: replace uses of NIP6_FMT with %p6
Signed-off-by: Harvey Harrison <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
38ff4fa49b
commit
0c6ce78abf
17 changed files with 43 additions and 62 deletions
|
|
@ -2346,9 +2346,9 @@ static void DBGUNDO(struct sock *sk, const char *msg)
|
|||
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
|
||||
else if (sk->sk_family == AF_INET6) {
|
||||
struct ipv6_pinfo *np = inet6_sk(sk);
|
||||
printk(KERN_DEBUG "Undo %s " NIP6_FMT "/%u c%u l%u ss%u/%u p%u\n",
|
||||
printk(KERN_DEBUG "Undo %s %p6/%u c%u l%u ss%u/%u p%u\n",
|
||||
msg,
|
||||
NIP6(np->daddr), ntohs(inet->dport),
|
||||
&np->daddr, ntohs(inet->dport),
|
||||
tp->snd_cwnd, tcp_left_out(tp),
|
||||
tp->snd_ssthresh, tp->prior_ssthresh,
|
||||
tp->packets_out);
|
||||
|
|
|
|||
|
|
@ -306,8 +306,8 @@ static void tcp_retransmit_timer(struct sock *sk)
|
|||
#if defined(CONFIG_IPV6) || defined(CONFIG_IPV6_MODULE)
|
||||
else if (sk->sk_family == AF_INET6) {
|
||||
struct ipv6_pinfo *np = inet6_sk(sk);
|
||||
LIMIT_NETDEBUG(KERN_DEBUG "TCP: Treason uncloaked! Peer " NIP6_FMT ":%u/%u shrinks window %u:%u. Repaired.\n",
|
||||
NIP6(np->daddr), ntohs(inet->dport),
|
||||
LIMIT_NETDEBUG(KERN_DEBUG "TCP: Treason uncloaked! Peer %p6:%u/%u shrinks window %u:%u. Repaired.\n",
|
||||
&np->daddr, ntohs(inet->dport),
|
||||
inet->num, tp->snd_una, tp->snd_nxt);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue