tipc: fix wrong return value for link_send_sections_long routine
authorYing Xue <ying.xue@windriver.com>
Mon, 17 Jun 2013 14:54:50 +0000 (10:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2013 22:53:01 +0000 (15:53 -0700)
commit126c0524648631a0f6fba4d016586b236209fe6f
tree23e9ee7556a92759320ed661007719272b4deb8f
parent7410f967ba9bdc14b1e336e5d235929ed878cbfc
tipc: fix wrong return value for link_send_sections_long routine

When skb buffer cannot be allocated in link_send_sections_long(),
-ENOMEM error code instead of -EFAULT should be returned to its
caller.

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