Re: Basic understanding about sk_buff packet handling

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

 



> 
> 1) i want to add two fields of each 4 bytes in sk_buff structure what is the
> effect of it on kernel packet processing? Is there any -ve effect?
> No -ve effect. Even if it has, there is no one stopping you to heck with
> kernel :-)
IMHO, the fields are ordered so as to facilitate faster access. Adding
fields amy affect the performance adversely. I am not sure about this,
though. :-)
regards,
Om.


--
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