calling skb_pull problem

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

 



hello,
     I want to know which is right function to remove
header from skbuff. I found in 2.4.20-8 kernel on RH9
that at some places __skb_pull is called whereas some
places skb_pull() is called.
Also why only __skb_pull or skb_pull calls are  there
without return value assignment?
e.g.
why not
skb->data=skb_pull(skb,dev->hard_headerlen);
instead
 skb_pull(skb,dev->hard_headerlen);

regards,
linux_lover.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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