Re: PF_PACKET and IP layer concurrent packet access?

From: Amit Kucheria (amitk@ittc.ku.edu)
Date: Wed Jul 17 2002 - 14:22:53 EST


On Wed, 17 Jul 2002 kuznet@ms2.inr.ac.ru wrote:

> Hello!
>
> > through ip_rcv(). Does ip_rcv() confirm the "shared" status of the
> > skbuff before manipulating it? If so, where?
>
> F.e. do grep skb_cow *.c

Ok. ip_forward() explains it. Thanks.

So this means that *every* packet that is forwarded is realloc'ed thru
skb_cow(), right?

Regards,
Amit

-- 
I'm an angel!!! Honest!
The horns are just there to hold the halo up straight.
^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^
                  Amit Kucheria
          EECS Grad. Research Assistant
         University of Kansas @ Lawrence
   (R): +1-785-830-8521 ||| (C): +1-785-760-2871
____________________________________________________

- To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:01 EST