diff options
-rw-r--r-- | net/ipv6/netfilter/ip6_tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/netfilter/ip6_tables.c b/net/ipv6/netfilter/ip6_tables.c index 167c2ea88f6b..204e02162d49 100644 --- a/net/ipv6/netfilter/ip6_tables.c +++ b/net/ipv6/netfilter/ip6_tables.c | |||
@@ -1494,7 +1494,7 @@ int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset, | |||
1494 | if (_frag_off) { | 1494 | if (_frag_off) { |
1495 | if (target < 0 && | 1495 | if (target < 0 && |
1496 | ((!ipv6_ext_hdr(hp->nexthdr)) || | 1496 | ((!ipv6_ext_hdr(hp->nexthdr)) || |
1497 | nexthdr == NEXTHDR_NONE)) { | 1497 | hp->nexthdr == NEXTHDR_NONE)) { |
1498 | if (fragoff) | 1498 | if (fragoff) |
1499 | *fragoff = _frag_off; | 1499 | *fragoff = _frag_off; |
1500 | return hp->nexthdr; | 1500 | return hp->nexthdr; |