Re: netif_rx dropping the packet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 05, 2004 at 09:53:51AM +0530, venum wrote:
> Hi,
> 
> I am facing a problem with the part of kernel code that  I am developing for
> a linux router. The objective is to encapsulate the received IP packet with
> a UDP header and an extra IP header and forward it to a different
> destination.
> I am encapsulating the original packet and passing it to the stack using
> 'netif_rx'.  I want the stack to forward the packet to changed destination.
> At the destination the packet will be decapsulated.
> But once the packet is given to the 'netif_rx', stack is dropping the packet
> silently.
> I don't know which part of the stack code is dropping the packet.

CIPE doesn't exactly what you are indicating there. Check the source
(it's not long) to see what they do. Something about resubmitting a
packet through netfilter or something.

Hope this helps,

-- 
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment: pgpMFOMH7WpoH.pgp
Description: PGP signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux