From: Nicolas Dichtel Date: Wed, 19 Mar 2014 16:47:49 +0000 (+0100) Subject: rtnetlink: fix fdb notification flags X-Git-Tag: v3.14-rc8~3^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c104a6bebf3c16b6248408b84f91d09ac8a26b6;p=pandora-kernel.git rtnetlink: fix fdb notification flags Commit 3ff661c38c84 ("net: rtnetlink notify events for FDB NTF_SELF adds and deletes") reuses the function nlmsg_populate_fdb_fill() to notify fdb 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 Signed-off-by: Nicolas Dichtel Acked-by: Thomas Graf Signed-off-by: David S. Miller --- Reading git-diff-tree failed