aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ah6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/ah6.c')
-rw-r--r--net/ipv6/ah6.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/ipv6/ah6.c b/net/ipv6/ah6.c
index 6d16eb0e0c7f..8ab1989198f6 100644
--- a/net/ipv6/ah6.c
+++ b/net/ipv6/ah6.c
@@ -272,10 +272,9 @@ static int ipv6_clear_mutable_options(struct ipv6hdr *iph, int len, int dir)
272 ipv6_rearrange_destopt(iph, exthdr.opth); 272 ipv6_rearrange_destopt(iph, exthdr.opth);
273 case NEXTHDR_HOP: 273 case NEXTHDR_HOP:
274 if (!zero_out_mutable_opts(exthdr.opth)) { 274 if (!zero_out_mutable_opts(exthdr.opth)) {
275 LIMIT_NETDEBUG( 275 net_dbg_ratelimited("overrun %sopts\n",
276 KERN_WARNING "overrun %sopts\n", 276 nexthdr == NEXTHDR_HOP ?
277 nexthdr == NEXTHDR_HOP ? 277 "hop" : "dest");
278 "hop" : "dest");
279 return -EINVAL; 278 return -EINVAL;
280 } 279 }
281 break; 280 break;