Re: [PATCH for 3.10-stable] virtio-net: drop NETIF_F_FRAGLIST

2015-11-14 Thread Jiri Slaby
On 11/06/2015, 07:55 PM, Greg KH wrote: > On Tue, Oct 27, 2015 at 01:50:53AM +, Sheng Yong wrote: >> From: Jason Wang >> >> commit 48900cb6af4282fa0fb6ff4d72a81aa3dadb5c39 upstream. >> >> virtio declares support for NETIF_F_FRAGLIST, but assumes >> that there are at most MAX_SKB_FRAGS + 2 frag

Re: [PATCH for 3.10-stable] virtio-net: drop NETIF_F_FRAGLIST

2015-11-06 Thread Sheng Yong
On 11/7/2015 2:55 AM, Greg KH wrote: > On Tue, Oct 27, 2015 at 01:50:53AM +, Sheng Yong wrote: >> From: Jason Wang >> >> commit 48900cb6af4282fa0fb6ff4d72a81aa3dadb5c39 upstream. >> >> virtio declares support for NETIF_F_FRAGLIST, but assumes >> that there are at most MAX_SKB_FRAGS + 2 fragm

Re: [PATCH for 3.10-stable] virtio-net: drop NETIF_F_FRAGLIST

2015-11-06 Thread Greg KH
On Tue, Oct 27, 2015 at 01:50:53AM +, Sheng Yong wrote: > From: Jason Wang > > commit 48900cb6af4282fa0fb6ff4d72a81aa3dadb5c39 upstream. > > virtio declares support for NETIF_F_FRAGLIST, but assumes > that there are at most MAX_SKB_FRAGS + 2 fragments which isn't > always true with a fraglis

[PATCH for 3.10-stable] virtio-net: drop NETIF_F_FRAGLIST

2015-10-26 Thread Sheng Yong
From: Jason Wang commit 48900cb6af4282fa0fb6ff4d72a81aa3dadb5c39 upstream. virtio declares support for NETIF_F_FRAGLIST, but assumes that there are at most MAX_SKB_FRAGS + 2 fragments which isn't always true with a fraglist. A longer fraglist in the skb will make the call to skb_to_sgvec overfl