RE: [Question]Why a skb with frag_list causes BUG_ON in function skb_segment

2015-07-29 Thread Zhangjie (HZ)
...@vger.kernel.org; m...@redhat.com; Qinchuanyu; Yewudi; liuyongan 00175866; netdev@vger.kernel.org Subject: Re: [Question]Why a skb with frag_list causes BUG_ON in function skb_segment On Thu, 2015-07-30 at 12:26 +0800, Jason Wang wrote: > cc netdev for more experts > > On 07/28/2015 04:53 PM, Zha

Re: [Question]Why a skb with frag_list causes BUG_ON in function skb_segment

2015-07-29 Thread Eric Dumazet
On Thu, 2015-07-30 at 12:26 +0800, Jason Wang wrote: > cc netdev for more experts > > On 07/28/2015 04:53 PM, Zhangjie (HZ) wrote: > > > > Hi, > > > > I generate a skb as follows: > > > > It has a linear data region, 17 frags and the last fragment is in > > skb_shinfo(skb)->frag_list. > > > > Befo

Re: [Question]Why a skb with frag_list causes BUG_ON in function skb_segment

2015-07-29 Thread Jason Wang
cc netdev for more experts On 07/28/2015 04:53 PM, Zhangjie (HZ) wrote: > > Hi, > > I generate a skb as follows: > > It has a linear data region, 17 frags and the last fragment is in > skb_shinfo(skb)->frag_list. > > Before this skb is sent to driver, dev_hard_start_xmit() will segment > it first(