]> 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)
commit21bceb63749f8902ecff09f34207b5a123960aa2
tree848f66440d17c545cdb04207500001fbbac9089f
parent8cae6c47eb8b66fd0acdc395202f94d05ccafe1f
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