On Tuesday 2008-11-25 04:23, 赵磊 wrote: >Hi, > >Thank you for your reply. > >As per your advice, I call ip_rcv_finish (referenced by the argument >okfn) in my NF_IP_PRE_ROUTING hook function. But I got segmentation >fault. Could you explain in a little more detail what should I do or >what was the problem with the above method? I'm a newbie in netfilter >and linux kernel programming. It may be that your skb, if created from scratch, is missing some initialized fields. It is best to find the line where it crashed. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html