aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2016-11-01 00:49:41 +0800
committerDavid S. Miller <davem@davemloft.net>2016-11-02 15:03:13 -0400
commite4ff952a7e11e51789949ed738c3c9455e5fd6c0 (patch)
tree89b6b808602a3c6942321a814d6292947a2ddae1 /drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
parentMerge branch 'cls_flower-misc' (diff)
downloadlinux-dev-e4ff952a7e11e51789949ed738c3c9455e5fd6c0.tar.xz
linux-dev-e4ff952a7e11e51789949ed738c3c9455e5fd6c0.zip
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 <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions