From mboxrd@z Thu Jan 1 00:00:00 1970 From: Susant Sahani Subject: NF_STOLEN and reinsert in to IP stack Date: Sat, 30 Jan 2010 14:27:18 +0530 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 To: netfilter-devel@lists.netfilter.org, netfilter@vger.kernel.org, netdev@vger.kernel.org Return-path: Received: from mail-px0-f182.google.com ([209.85.216.182]:46782 "EHLO mail-px0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977Ab0A3JFA (ORCPT ); Sat, 30 Jan 2010 04:05:00 -0500 Sender: netdev-owner@vger.kernel.org List-ID: Hi, I have yet to find any resource that answers this question. If I have a kernel module that registers a callback with netfilter and steals a packet during the NF_IP_PRE_ROUTING stage, How can I re-insert this packet on the network stack, (before the ip routing stage) so it is forwarded back out on the correct device? susant Charles de Gaulle - "The better I get to know men, the more I find myself loving dogs." - http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html