Re: [PATCH net] sctp: sctp gso should set feature with NETIF_F_SG when calling skb_segment

2017-01-25 Thread David Miller
From: Xin Long Date: Tue, 24 Jan 2017 14:05:16 +0800 > Now sctp gso puts segments into skb's frag_list, then processes these > segments in skb_segment. But skb_segment handles them only when gs is > enabled, as it's in the same branch with skb's frags. > > Although almost all the NICs support sg

[PATCH net] sctp: sctp gso should set feature with NETIF_F_SG when calling skb_segment

2017-01-23 Thread Xin Long
Now sctp gso puts segments into skb's frag_list, then processes these segments in skb_segment. But skb_segment handles them only when gs is enabled, as it's in the same branch with skb's frags. Although almost all the NICs support sg other than some old ones, but since commit 1e16aa3ddf86 ("net: g