Re: [PATCH net-next] sctp: clean up sctp_packet_transmit

2016-11-02 Thread David Miller
From: Xin Long Date: Tue, 1 Nov 2016 00:49:41 +0800 > After adding sctp gso, sctp_packet_transmit is a quite big function now. > > This patch is to extract the codes for packing packet to sctp_packet_pack > from sctp_packet_transmit, and add some comments, simplify the err path by > freeing aut

Re: [PATCH net-next] sctp: clean up sctp_packet_transmit

2016-11-01 Thread Neil Horman
On Tue, Nov 01, 2016 at 12:49:41AM +0800, Xin Long wrote: > After adding sctp gso, sctp_packet_transmit is a quite big function now. > > This patch is to extract the codes for packing packet to sctp_packet_pack > from sctp_packet_transmit, and add some comments, simplify the err path by > freeing

Re: [PATCH net-next] sctp: clean up sctp_packet_transmit

2016-11-01 Thread Marcelo Ricardo Leitner
On Tue, Nov 01, 2016 at 12:49:41AM +0800, Xin Long wrote: > After adding sctp gso, sctp_packet_transmit is a quite big function now. > > This patch is to extract the codes for packing packet to sctp_packet_pack > from sctp_packet_transmit, and add some comments, simplify the err path by you also

Re: [PATCH net-next] sctp: clean up sctp_packet_transmit

2016-11-01 Thread David Miller
From: Xin Long Date: Tue, 1 Nov 2016 00:49:41 +0800 > After adding sctp gso, sctp_packet_transmit is a quite big function now. > > This patch is to extract the codes for packing packet to sctp_packet_pack > from sctp_packet_transmit, and add some comments, simplify the err path by > freeing aut

[PATCH net-next] sctp: clean up sctp_packet_transmit

2016-10-31 Thread Xin Long
After adding sctp gso, sctp_packet_transmit is a quite big function now. This patch is to extract the codes for packing packet to sctp_packet_pack from sctp_packet_transmit, and add some comments, simplify the err path by freeing auth chunk when freeing packet chunk_list in out path and freeing he