net: replace uses of NIP6_FMT with %p6
[firefly-linux-kernel-4.4.55.git] / net / ipv6 / ah6.c
index 379c8e04c36c6ccf17e84abf860fd734fb5945be..9bc43f2527cebf9ef575e1b412919a376d4a063f 100644 (file)
@@ -283,7 +283,7 @@ static int ah6_output(struct xfrm_state *x, struct sk_buff *skb)
 
        ah->reserved = 0;
        ah->spi = x->id.spi;
-       ah->seq_no = htonl(XFRM_SKB_CB(skb)->seq);
+       ah->seq_no = htonl(XFRM_SKB_CB(skb)->seq.output);
 
        spin_lock_bh(&x->lock);
        err = ah_mac_digest(ahp, skb, ah->auth_data);
@@ -419,8 +419,8 @@ static void ah6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
        if (!x)
                return;
 
-       NETDEBUG(KERN_DEBUG "pmtu discovery on SA AH/%08x/" NIP6_FMT "\n",
-                ntohl(ah->spi), NIP6(iph->daddr));
+       NETDEBUG(KERN_DEBUG "pmtu discovery on SA AH/%08x/%p6\n",
+                ntohl(ah->spi), &iph->daddr);
 
        xfrm_state_put(x);
 }