aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/ip6t_hbh.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/netfilter/ip6t_hbh.c')
-rw-r--r--net/ipv6/netfilter/ip6t_hbh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6t_hbh.c b/net/ipv6/netfilter/ip6t_hbh.c
index bbd2615ad2e..8eecac14dda 100644
--- a/net/ipv6/netfilter/ip6t_hbh.c
+++ b/net/ipv6/netfilter/ip6t_hbh.c
@@ -160,7 +160,7 @@ match(const struct sk_buff *skb,
160 DEBUGP("len%04X \n", optlen); 160 DEBUGP("len%04X \n", optlen);
161 161
162 if ((ptr > skb->len - optlen || hdrlen < optlen) && 162 if ((ptr > skb->len - optlen || hdrlen < optlen) &&
163 (temp < optinfo->optsnr - 1)) { 163 temp < optinfo->optsnr - 1) {
164 DEBUGP("new pointer is too large! \n"); 164 DEBUGP("new pointer is too large! \n");
165 break; 165 break;
166 } 166 }