Re: netif_rx and ip_local_deliver .. SOLVED

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

 






Hi,

   When I was trying to send a raw socket to a tcp connection opened on the
same machine, i was ruuning into problems, i thought it might have been
checksum and all and wondered what all fields had to be set in skbuff b4
calling netif_rx, the problem is solved now. a packet that is coming out
from a machine and going to itself (even if src addr is diff) goes on lo,
so i thought the skbuff wld be freed and allocated again and all that, but
that doesnt happen, even if an ack or an rst goes on lo, the tcp connection
accepts it fine ... !, so there was no issue, i just wasnt setting the ack
flag in the rst fragment i was sending and hence it was being dropped.

cheers
Amit


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux