]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: honor msg2addr return value
authorRichard Alpe <richard.alpe@ericsson.com>
Mon, 27 Jun 2016 11:34:06 +0000 (13:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2016 09:17:37 +0000 (05:17 -0400)
commit268b89b66d89fa7a0f24fdeac19fec3fabfffa0d
tree0ee8ecb57dc5424e87cbda0c02c651f5b1dfd9c9
parent19ca43936c8b0277df7bb2a1a22963bdc49b7fc4
tipc: honor msg2addr return value

The UDP msg2addr function tipc_udp_msg2addr() can return -EINVAL which
prior to this patch was unhanded in the caller.

Signed-off-by: Richard Alpe <richard.alpe@ericsson.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/discover.c