On Sat, Aug 09, 2014 at 09:02:16PM +0200, Alexander Aring wrote: .... > + > + nhc = lowpan_search_nhc_by_nhcid(*skb); > + if (nhc) { > + ret = nhc->uncompress(skb); > + if (!ret) { > + skb_reset_transport_header(*skb); > + hdr->nexthdr = nhc->nexthdr; > + } else if (ret == -ENOTSUPP) { > + net_warn_ratelimited("%s received %s which is not supported.\n", > + (*skb)->dev->name, nhc->name); > + } > + } here we need a else branch and return -ENOENT or something similar to drop the packet afterwards. Thanks Phoebe for the hint. - Alex -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html