linux/net/tipc
Jon Paul Maloy 7d967b673c tipc: purge backlog queue counters when broadcast link is reset
In commit 1f66d161ab
("tipc: introduce starvation free send algorithm")
we introduced a counter per priority level for buffers
in the link backlog queue. We also introduced a new
function tipc_link_purge_backlog(), to reset these
counters to zero when the link is reset.

Unfortunately, we missed to call this function when
the broadcast link is reset, with the result that the
values of these counters might be permanently skewed
when new nodes are attached. This may in the worst case
lead to permananent, but spurious, broadcast link
congestion, where no broadcast packets can be sent at
all.

We fix this bug with this commit.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-06-28 16:43:02 -07:00
..
addr.c tipc: simplify include dependencies 2015-05-14 12:24:45 -04:00
addr.h tipc: simplify include dependencies 2015-05-14 12:24:45 -04:00
bcast.c tipc: purge backlog queue counters when broadcast link is reset 2015-06-28 16:43:02 -07:00
bcast.h tipc: add broadcast link window set/get to nl api 2015-05-09 16:40:02 -04:00
bearer.c tipc: simplify resetting and disabling of bearers 2015-05-14 12:24:45 -04:00
bearer.h tipc: simplify include dependencies 2015-05-14 12:24:45 -04:00
core.c
core.h tipc: simplify packet sequence number handling 2015-05-14 12:24:46 -04:00
discover.c
discover.h
eth_media.c
ib_media.c
Kconfig
link.c tipc: purge backlog queue counters when broadcast link is reset 2015-06-28 16:43:02 -07:00
link.h tipc: purge backlog queue counters when broadcast link is reset 2015-06-28 16:43:02 -07:00
Makefile
msg.c tipc: add packet sequence number at instant of transmission 2015-05-14 12:24:46 -04:00
msg.h tipc: add packet sequence number at instant of transmission 2015-05-14 12:24:46 -04:00
name_distr.c
name_distr.h
name_table.c
name_table.h
net.c tipc: simplify include dependencies 2015-05-14 12:24:45 -04:00
net.h
netlink_compat.c tipc: send explicit not supported error in nl compat 2015-05-09 16:40:03 -04:00
netlink.c
netlink.h
node.c tipc: add packet sequence number at instant of transmission 2015-05-14 12:24:46 -04:00
node.h tipc: simplify include dependencies 2015-05-14 12:24:45 -04:00
server.c tipc: use sock_create_kern interface to create kernel socket 2015-05-14 13:39:33 -04:00
server.h
socket.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-06-13 23:56:52 -07:00
socket.h
subscr.c
subscr.h
sysctl.c
udp_media.c