]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: make tipc_link_send_sections_fast exit earlier
authorYing Xue <ying.xue@windriver.com>
Mon, 17 Jun 2013 14:54:49 +0000 (10:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2013 22:53:01 +0000 (15:53 -0700)
commit33341638f6052919cdc8638094d602205f451d3f
tree848f66440d17c545cdb04207500001fbbac9089f
parent8b781f1d9ee5a93018f59fb8c73dbeec53c32711
tipc: make tipc_link_send_sections_fast exit earlier

Once message build request function returns invalid code, the
process of sending message cannot continue. So in case of message
build failure, tipc_link_send_sections_fast() should return
immediately.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c