Re: Question about skb clones and frag_list

2006-04-05 Thread Mark Butler
Vlad Yasevich wrote: On Wed, 2006-04-05 at 10:38 -0600, Mark Butler wrote: The problem in this case is skb1 does not own the skb_shared_info structure (and hence the frag_list) once it has been cloned. skb_unshare is the function that should be used to get a modifiable copy. So, wha

Re: Question about skb clones and frag_list

2006-04-05 Thread Vlad Yasevich
On Wed, 2006-04-05 at 10:38 -0600, Mark Butler wrote: > Vlad Yasevich wrote: > > >Hi All > > > >I am trying to understand if it is a good idea to have cloned skbs > >reside on a frag_list? > > > >I've ran into a situation with SCTP, where it is possible to create > >infinite recursion loops by hav

Re: [Lksctp-developers] Question about skb clones and frag_list

2006-04-05 Thread Neil Horman
On Wed, Apr 05, 2006 at 11:39:05AM -0400, Vlad Yasevich wrote: > Hi All > > I am trying to understand if it is a good idea to have cloned skbs > reside on a frag_list? > > I've ran into a situation with SCTP, where it is possible to create > infinite recursion loops by having cloned skbs reside o

Re: Question about skb clones and frag_list

2006-04-05 Thread Mark Butler
Vlad Yasevich wrote: Hi All I am trying to understand if it is a good idea to have cloned skbs reside on a frag_list? I've ran into a situation with SCTP, where it is possible to create infinite recursion loops by having cloned skbs reside on a frag_list. We end up in a situation where have tw

Question about skb clones and frag_list

2006-04-05 Thread Vlad Yasevich
Hi All I am trying to understand if it is a good idea to have cloned skbs reside on a frag_list? I've ran into a situation with SCTP, where it is possible to create infinite recursion loops by having cloned skbs reside on a frag_list. We end up in a situation where have two clones skb1 and skb2 t