Skip to content

Commit e4ff952

Browse files
lxindavem330
authored andcommitted
sctp: clean up sctp_packet_transmit
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 <[email protected]> Acked-by: Marcelo Ricardo Leitner <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 9290182 commit e4ff952

File tree

1 file changed

+158
-277
lines changed

1 file changed

+158
-277
lines changed

0 commit comments

Comments
 (0)