]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: remove wrong use of NLM_F_MULTI
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 28 Apr 2015 16:33:50 +0000 (18:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Apr 2015 18:59:17 +0000 (14:59 -0400)
commit23c8f32105c5776fe60e62d025810d14df743b47
treea8b85b41d7129cd8f36581384ff24e993e822a80
parentc7890dfbd45c8a992956cb37d0e3a89d0b555faf
tipc: remove wrong use of NLM_F_MULTI

NLM_F_MULTI must be used only when a NLMSG_DONE message is sent. In fact,
it is sent only at the end of a dump.

Libraries like libnl will wait forever for NLMSG_DONE.

Fixes: adcaa12b87ac ("tipc: add bearer get/dump to new netlink api")
Fixes: b2e0bc77213a ("tipc: add link get/dump to new netlink api")
Fixes: 94876216fd96 ("tipc: add media get/dump to new netlink api")
CC: Richard Alpe <richard.alpe@ericsson.com>
CC: Jon Maloy <jon.maloy@ericsson.com>
CC: Ying Xue <ying.xue@windriver.com>
CC: tipc-discussion@lists.sourceforge.net
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c
net/tipc/link.c