diff options
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 6bc66552442c..18a90075f942 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -586,7 +586,7 @@ static int rawv6_send_hdrinc(struct sock *sk, void *from, int length, | |||
586 | if (err) | 586 | if (err) |
587 | goto error_fault; | 587 | goto error_fault; |
588 | 588 | ||
589 | IP6_INC_STATS(IPSTATS_MIB_OUTREQUESTS); | 589 | IP6_INC_STATS(rt->rt6i_idev, IPSTATS_MIB_OUTREQUESTS); |
590 | err = NF_HOOK(PF_INET6, NF_IP6_LOCAL_OUT, skb, NULL, rt->u.dst.dev, | 590 | err = NF_HOOK(PF_INET6, NF_IP6_LOCAL_OUT, skb, NULL, rt->u.dst.dev, |
591 | dst_output); | 591 | dst_output); |
592 | if (err > 0) | 592 | if (err > 0) |
@@ -600,7 +600,7 @@ error_fault: | |||
600 | err = -EFAULT; | 600 | err = -EFAULT; |
601 | kfree_skb(skb); | 601 | kfree_skb(skb); |
602 | error: | 602 | error: |
603 | IP6_INC_STATS(IPSTATS_MIB_OUTDISCARDS); | 603 | IP6_INC_STATS(rt->rt6i_idev, IPSTATS_MIB_OUTDISCARDS); |
604 | return err; | 604 | return err; |
605 | } | 605 | } |
606 | 606 | ||