]> git.baikalelectronics.ru Git - kernel.git/commit
bridge/mdb: remove wrong use of NLM_F_MULTI
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 6 Sep 2019 09:47:02 +0000 (11:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Sep 2019 08:10:53 +0000 (09:10 +0100)
commit2755d97299bcf56f236c16098c1235d83ec23319
tree1e4c34b726450eed9c0ff2d450c80aca59239941
parent5fa6a49abaf19bbf086b6ec04aceb27d9bf11e26
bridge/mdb: remove wrong use of NLM_F_MULTI

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

Libraries like libnl will wait forever for NLMSG_DONE.

Fixes: d1718ff886ae ("bridge: mdb: notify on router port add and del")
CC: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_mdb.c