We fix a very real starvation problem that may occur when the link level runs into send buffer congestion. At the same time we make the interaction between the socket and link layer simpler and more consistent.
Jon Maloy (3): tipc: unify tipc_wait_for_sndpkt() and tipc_wait_for_sndmsg() functions tipc: modify struct tipc_plist to be more versatile tipc: reduce risk of user starvation during link congestion net/tipc/bcast.c | 2 +- net/tipc/link.c | 90 +++++----- net/tipc/msg.h | 8 +- net/tipc/name_table.c | 100 +++++++---- net/tipc/name_table.h | 21 +-- net/tipc/node.c | 2 +- net/tipc/socket.c | 448 ++++++++++++++++++++++---------------------------- 7 files changed, 334 insertions(+), 337 deletions(-) -- 2.7.4 ------------------------------------------------------------------------------ _______________________________________________ tipc-discussion mailing list tipc-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tipc-discussion