tipc: remove wrong use of NLM_F_MULTI
authorNicolas Dichtel <[email protected]>
Tue, 28 Apr 2015 16:33:50 +0000 (18:33 +0200)
committerDavid S. Miller <[email protected]>
Wed, 29 Apr 2015 18:59:17 +0000 (14:59 -0400)
commitf2f67390a4b961dae83733732e96e1a394a53c4e
treea8b85b41d7129cd8f36581384ff24e993e822a80
parent46c264daaaa569e24f8aba877d0fd8167c42a9a4
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: 35b9dd7607f0 ("tipc: add bearer get/dump to new netlink api")
Fixes: 7be57fc69184 ("tipc: add link get/dump to new netlink api")
Fixes: 46f15c6794fb ("tipc: add media get/dump to new netlink api")
CC: Richard Alpe <[email protected]>
CC: Jon Maloy <[email protected]>
CC: Ying Xue <[email protected]>
CC: [email protected]
Signed-off-by: Nicolas Dichtel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/tipc/bearer.c
net/tipc/link.c