--- zzzz-none-000/linux-2.6.19.2/net/ipv6/netfilter/ip6t_hbh.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/net/ipv6/netfilter/ip6t_hbh.c 2007-01-11 07:38:19.000000000 +0000 @@ -65,14 +65,9 @@ u8 _opttype, *tp = NULL; u8 _optlen, *lp = NULL; unsigned int optlen; - int err; - err = ipv6_find_hdr(skb, &ptr, match->data, NULL); - if (err < 0) { - if (err != -ENOENT) - *hotdrop = 1; + if (ipv6_find_hdr(skb, &ptr, match->data, NULL) < 0) return 0; - } oh = skb_header_pointer(skb, ptr, sizeof(_optsh), &_optsh); if (oh == NULL) {