The first commit makes blocking of bearers available from the generic
bearer layer. The second commit is a small improvement to the link
congestion mechanism.
v2: - Removed the previous commit #2 ("tipc: reset all unicast links
when broadcast link fails"), which should now go into 'net'.
- Reworked and reordered previous commit #1 ("tipc: make bearer
packet filtering generic") to be based on the previous #2.
I am aware that I am once again stirring up an old debate, but
we have to come to a conclusion about this, since the current
solution is ugly and non-generic. We definitely need this when
the broadcast link resets in a large cluster.
v3: - Made #1 rcu-safe by placing the block/unblock functions in the
media specific code, and added acces to those from the generic
code via two new function pointers in the media interface.
v4: - Backed to v2, but made set/clear of the 'up' flag architecture
safe according to comment from Ying.
Jon Maloy (2):
tipc: make bearer packet filtering generic
tipc: ensure that link congestion and wakeup use same criteria
net/tipc/bearer.c | 77 ++++++++++++++++++++++++++--------------------------
net/tipc/bearer.h | 1 +
net/tipc/link.c | 18 ++++++------
net/tipc/udp_media.c | 2 +-
4 files changed, 51 insertions(+), 47 deletions(-)
--
2.7.4
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion