diff options
Diffstat (limited to 'net/ipv6/ah6.c')
-rw-r--r-- | net/ipv6/ah6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c index 2ae79dbeec2f..a9f4156f7c3f 100644 --- a/net/ipv6/ah6.c +++ b/net/ipv6/ah6.c | |||
@@ -189,8 +189,8 @@ static void ipv6_rearrange_destopt(struct ipv6hdr *iph, struct ipv6_opt_hdr *des | |||
189 | 189 | ||
190 | hao = (struct ipv6_destopt_hao *)&opt[off]; | 190 | hao = (struct ipv6_destopt_hao *)&opt[off]; |
191 | if (hao->length != sizeof(hao->addr)) { | 191 | if (hao->length != sizeof(hao->addr)) { |
192 | if (net_ratelimit()) | 192 | net_warn_ratelimited("destopt hao: invalid header length: %u\n", |
193 | printk(KERN_WARNING "destopt hao: invalid header length: %u\n", hao->length); | 193 | hao->length); |
194 | goto bad; | 194 | goto bad; |
195 | } | 195 | } |
196 | final_addr = hao->addr; | 196 | final_addr = hao->addr; |