]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit85482b5e9e5a478a960fca46c268ec1bd4f825bc
tree23e9ee7556a92759320ed661007719272b4deb8f
parent33341638f6052919cdc8638094d602205f451d3f
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