diff options
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r-- | net/dccp/ipv6.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c index caa7f3469626..11062780bb02 100644 --- a/net/dccp/ipv6.c +++ b/net/dccp/ipv6.c | |||
@@ -98,7 +98,8 @@ static void dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, | |||
98 | 98 | ||
99 | if (skb->len < offset + sizeof(*dh) || | 99 | if (skb->len < offset + sizeof(*dh) || |
100 | skb->len < offset + __dccp_basic_hdr_len(dh)) { | 100 | skb->len < offset + __dccp_basic_hdr_len(dh)) { |
101 | ICMP6_INC_STATS_BH(__in6_dev_get(skb->dev), ICMP6_MIB_INERRORS); | 101 | ICMP6_INC_STATS_BH(net, __in6_dev_get(skb->dev), |
102 | ICMP6_MIB_INERRORS); | ||
102 | return; | 103 | return; |
103 | } | 104 | } |
104 | 105 | ||
@@ -107,7 +108,8 @@ static void dccp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, | |||
107 | &hdr->saddr, dh->dccph_sport, inet6_iif(skb)); | 108 | &hdr->saddr, dh->dccph_sport, inet6_iif(skb)); |
108 | 109 | ||
109 | if (sk == NULL) { | 110 | if (sk == NULL) { |
110 | ICMP6_INC_STATS_BH(__in6_dev_get(skb->dev), ICMP6_MIB_INERRORS); | 111 | ICMP6_INC_STATS_BH(net, __in6_dev_get(skb->dev), |
112 | ICMP6_MIB_INERRORS); | ||
111 | return; | 113 | return; |
112 | } | 114 | } |
113 | 115 | ||