projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'drm-intel-next-fixes-2015-07-02' of git://anongit.freedesktop.org/drm...
[firefly-linux-kernel-4.4.55.git]
/
net
/
tipc
/
bcast.c
diff --git
a/net/tipc/bcast.c
b/net/tipc/bcast.c
index 4906ca3c0f3a576a529eacb26631f8585291ae40..a816382fc8af1b9efb016f888493ca4dcc65fe3b 100644
(file)
--- a/
net/tipc/bcast.c
+++ b/
net/tipc/bcast.c
@@
-108,6
+108,11
@@
void tipc_bclink_remove_node(struct net *net, u32 addr)
tipc_bclink_lock(net);
tipc_nmap_remove(&tn->bclink->bcast_nodes, addr);
+
+ /* Last node? => reset backlog queue */
+ if (!tn->bclink->bcast_nodes.count)
+ tipc_link_purge_backlog(&tn->bclink->link);
+
tipc_bclink_unlock(net);
}