On Thursday 2008-11-27 03:58, Zhao Lei wrote: >Thank you for your reply. My problem has been solved. It turns out that >if I use skb_copy function to create a new skb instead of using the >exsiting one, the program runs perfectly well. I do not see a problem with just holding the skb. Maybe it is just that a refcount needs to be increased (skb_get). Alternatively, skb_clone might work in pleace of skb_copy for a cheap operation. -- 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