|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: SKB paged fragment lifecycle on receive
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 24 Jun 2011 11:21:15 -0700
>> Dangerous I would say. You could have a skb1 page transferred to another
>> skb2, and call skb1 destructor way before page being released.
>
> Under what circumstances would that happen?
Pages get transferred between different SKBs all the time.
For example, GRO makes extensive use of this technique.
See net/core/skbuff.c:skb_gro_receive().
It is just one example.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|