ipmr: fix mfc notification flags
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Wed, 19 Mar 2014 16:47:50 +0000 (17:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Mar 2014 20:24:28 +0000 (16:24 -0400)
commit65886f439ab0fdc2dff20d1fa87afb98c6717472
treef1a5c625ecdd886877b3147a35bb7fcbcde15df0
parent1c104a6bebf3c16b6248408b84f91d09ac8a26b6
ipmr: fix mfc notification flags

Commit 8cd3ac9f9b7b ("ipmr: advertise new mfc entries via rtnl") reuses the
function ipmr_fill_mroute() to notify mfc events.
But this function was used only for dump and thus was always setting the
flag NLM_F_MULTI, which is wrong in case of a single notification.

Libraries like libnl will wait forever for NLMSG_DONE.

CC: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipmr.c