summaryrefslogtreecommitdiff
path: root/lib/srcdest_table.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-09-21 11:41:46 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-09-21 11:41:46 -0400
commitb5469d021cd8240bf08bce8f9f0d9e1e644ff05d (patch)
tree9c3c9215578071f3ecfa00ba348eb1519f95bf7e /lib/srcdest_table.c
parent90a084e4a1bbffc2de9a1192fdc3ab30c58a1b80 (diff)
pimd: blackhole traffic when we are not DR for Stream received
Suppose we have a bridge with a host and two routers attached to it. r1 r2 | | -------- | host host is sending traffic. r1 and r2 are pim neighbors and r2 is the DR. Both r1 and r2 will receive data from the stream up the pim kernel socket. r1 will notice that it is not the DR and stop processing in pim. This code adds a bit more code to blackhole the route when r1 detects it is not the DR in this scenario. This is being done because the kernel is both keeping state and sending data to the pim process to continue processing this. Additionally if we happen to be running this on a asic, then blackholing the route in the asic can save a significant amount of cpu time handling this situation. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/srcdest_table.c')
0 files changed, 0 insertions, 0 deletions