]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ip6t_ipv6header: fix match on packets ending with NEXTHDR_NONE
authorChristoph Paasch <christoph.paasch@gmail.com>
Tue, 5 May 2009 13:32:16 +0000 (15:32 +0200)
committerPatrick McHardy <kaber@trash.net>
Tue, 5 May 2009 13:32:16 +0000 (15:32 +0200)
commite5c7264e436c3c0e6d428982f6e776d9264d121b
tree4daddb336ddbab1e7ac7a6b10e68add36ab908ac
parent2c7a41f381a1b4746bda97328cb7be02bb296408
netfilter: ip6t_ipv6header: fix match on packets ending with NEXTHDR_NONE

As packets ending with NEXTHDR_NONE don't have a last extension header,
the check for the length needs to be after the check for NEXTHDR_NONE.

Signed-off-by: Christoph Paasch <christoph.paasch@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv6/netfilter/ip6t_ipv6header.c