aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/netfilter/ip6_tables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c
index 41a67cf6e33a..1cb8adb2787f 100644
--- a/net/ipv6/netfilter/ip6_tables.c
+++ b/net/ipv6/netfilter/ip6_tables.c
@@ -433,8 +433,8 @@ ip6t_do_table(struct sk_buff **pskb,
433 back->comefrom); 433 back->comefrom);
434 continue; 434 continue;
435 } 435 }
436 if (table_base + v 436 if (table_base + v != (void *)e + e->next_offset
437 != (void *)e + e->next_offset) { 437 && !(e->ipv6.flags & IP6T_F_GOTO)) {
438 /* Save old back ptr in next entry */ 438 /* Save old back ptr in next entry */
439 struct ip6t_entry *next 439 struct ip6t_entry *next
440 = (void *)e + e->next_offset; 440 = (void *)e + e->next_offset;