twx-linux/net/tipc
Erik Hugne 70452dcb6d tipc: fix a memleak when sending data
This fixes a regression bug caused by:
067608e9d019d6477fd45dd948e81af0e5bf599f ("tipc: introduce direct
iovec to buffer chain fragmentation function")

If data is sent on a nonblocking socket and the destination link
is congested, the buffer chain is leaked. We fix this by freeing
the chain in this case.

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-08 16:10:01 -07:00
..
addr.c
addr.h
bcast.c net: add __pskb_copy_fclone and pskb_copy_for_clone 2014-06-11 15:38:02 -07:00
bcast.h
bearer.c
bearer.h
config.c
config.h
core.c
core.h
discover.c
discover.h
eth_media.c
ib_media.c
Kconfig
link.c tipc: fix link acknowledge logic in receive path 2014-07-07 19:55:07 -07:00
link.h tipc: introduce send functions for chained buffers in link 2014-06-27 12:50:54 -07:00
log.c
Makefile
msg.c tipc: clean up connection protocol reception function 2014-06-27 12:50:56 -07:00
msg.h tipc: introduce message evaluation function 2014-06-27 12:50:55 -07:00
name_distr.c
name_distr.h
name_table.c
name_table.h
net.c tipc: same receive code path for connection protocol and data messages 2014-06-27 12:50:56 -07:00
net.h tipc: same receive code path for connection protocol and data messages 2014-06-27 12:50:56 -07:00
netlink.c
node_subscr.c tipc: eliminate case of writing to freed memory 2014-06-27 12:50:54 -07:00
node_subscr.h
node.c tipc: make link mtu easily accessible from socket 2014-06-27 12:50:55 -07:00
node.h tipc: make link mtu easily accessible from socket 2014-06-27 12:50:55 -07:00
port.c tipc: simplify connection congestion handling 2014-06-27 12:50:56 -07:00
port.h tipc: simplify connection congestion handling 2014-06-27 12:50:56 -07:00
ref.c
ref.h
server.c
server.h
socket.c tipc: fix a memleak when sending data 2014-07-08 16:10:01 -07:00
socket.h tipc: simplify connection congestion handling 2014-06-27 12:50:56 -07:00
subscr.c
subscr.h
sysctl.c