Thread (5 messages) 5 messages, 4 authors, 2016-11-02

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

From: David Miller <davem@davemloft.net>
Date: 2016-11-01 15:58:26
Also in: linux-sctp

From: Xin Long <lucien.xin@gmail.com>
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 auth chunk when freeing packet chunk_list in out path and freeing
head skb early if it fails to pack packet.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
SCTP experts, please review.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help