Xin Long
41001faf95
sctp: not return ENOMEM err back in sctp_packet_transmit
...
As David and Marcelo's suggestion, ENOMEM err shouldn't return back to
user in transmit path. Instead, sctp's retransmit would take care of
the chunks that fail to send because of ENOMEM.
This patch is only to do some release job when alloc_skb fails, not to
return ENOMEM back any more.
Besides, it also cleans up sctp_packet_transmit's err path, and fixes
some issues in err path:
- It didn't free the head skb in nomem: path.
- No need to check nskb in no_route: path.
- It should goto err: path if alloc_skb fails for head.
- Not all the NOMEMs should free nskb.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-18 22:02:33 -04:00
..
associola.c
sctp: add SCTP_PR_SUPPORTED on sctp sockopt
2016-07-11 13:25:38 -07:00
auth.c
sctp: use IS_ENABLED() instead of checking for built-in or module
2016-09-10 21:19:11 -07:00
bind_addr.c
chunk.c
sctp: free msg->chunks when sctp_primitive_SEND return err
2016-09-18 22:02:32 -04:00
debug.c
endpointola.c
sctp: add SCTP_PR_SUPPORTED on sctp sockopt
2016-07-11 13:25:38 -07:00
input.c
sctp: linearize early if it's not GSO
2016-08-19 17:09:42 -07:00
inqueue.c
sctp: linearize early if it's not GSO
2016-08-19 17:09:42 -07:00
ipv6.c
sctp: use inet_recvmsg to support sctp RFS well
2016-07-25 10:56:28 -07:00
Kconfig
sctp: add the sctp_diag.c file
2016-04-15 17:29:36 -04:00
Makefile
sctp: Add GSO support
2016-06-03 19:37:21 -04:00
objcnt.c
offload.c
sctp: fix GSO for IPv6
2016-07-16 22:02:09 -07:00
output.c
sctp: not return ENOMEM err back in sctp_packet_transmit
2016-09-18 22:02:33 -04:00
outqueue.c
sctp: make sctp_outq_flush/tail/uncork return void
2016-09-18 22:02:33 -04:00
primitive.c
probe.c
proc.c
net/sctp: always initialise sctp_ht_iter::start_fail
2016-08-13 15:10:16 -07:00
protocol.c
sctp: use inet_recvmsg to support sctp RFS well
2016-07-25 10:56:28 -07:00
sctp_diag.c
net: inet: diag: expose the socket mark to privileged processes.
2016-09-08 16:13:09 -07:00
sm_make_chunk.c
sctp: avoid identifying address family many times for a chunk
2016-07-13 18:10:14 -07:00
sm_sideeffect.c
sctp: make sctp_outq_flush/tail/uncork return void
2016-09-18 22:02:33 -04:00
sm_statefuns.c
sctp: only check for ECN if peer is using it
2016-07-13 18:10:14 -07:00
sm_statetable.c
socket.c
sctp: free msg->chunks when sctp_primitive_SEND return err
2016-09-18 22:02:32 -04:00
ssnmap.c
sysctl.c
transport.c
sctp: avoid refreshing heartbeat timer too often
2016-04-10 22:22:34 -04:00
tsnmap.c
ulpevent.c
sctp: use event->chunk when it's valid
2016-08-08 14:31:23 -07:00
ulpqueue.c
sctp: allow delivering notifications after receiving SHUTDOWN
2016-07-30 22:06:22 -07:00