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)
commit7410f967ba9bdc14b1e336e5d235929ed878cbfc
tree848f66440d17c545cdb04207500001fbbac9089f
parent796c75d0d3ef13cd1df00779abb8b27edb630504
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