diff options
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2014-03-19 17:47:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-14 06:42:17 -0700 |
commit | c0669e49cf6fdee800568b7085af0bcaaf27b9b3 (patch) | |
tree | d3998cce61a3f4720cb28a123547a575c4e3ec2c /net/sysctl_net.c | |
parent | c3c4a8c1e19205057f680ab3d73044462bd5303c (diff) | |
download | linux-3.10-c0669e49cf6fdee800568b7085af0bcaaf27b9b3.tar.gz linux-3.10-c0669e49cf6fdee800568b7085af0bcaaf27b9b3.tar.bz2 linux-3.10-c0669e49cf6fdee800568b7085af0bcaaf27b9b3.zip |
rtnetlink: fix fdb notification flags
[ Upstream commit 1c104a6bebf3c16b6248408b84f91d09ac8a26b6 ]
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 <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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions