diff options
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | 2016-03-18 18:39:19 -0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-20 16:31:12 -0400 |
commit | 31b055ef0c6116a27e9a787304ecf87a77d34764 (patch) | |
tree | ad0e4efc26471dea63954f2c34fe6c1c31cc01f3 /net/irda/irmod.c | |
parent | 07b4d6a1749422fa1e054f3c2aba444acdba39e8 (diff) | |
download | linux-31b055ef0c6116a27e9a787304ecf87a77d34764.tar.bz2 |
sctp: do not leak chunks that are sent to unconfirmed paths
Currently, if a chunk is scheduled to be sent through a transport that
is currently unconfirmed, it will be leaked as it is dequeued from outq
and is not re-queued nor freed.
As I'm not aware of any situation that may lead to this situation, I'm
fixing this by freeing the chunk and also logging a trace so that we can
fix the other bug if it ever happens.
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/irda/irmod.c')
0 files changed, 0 insertions, 0 deletions