summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_updgrp_packet.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-02-07 00:39:06 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-11-30 22:17:57 +0100
commitd3ecc69e5fba1873872a1f4dc359ff1934f81848 (patch)
treebcdf393161c7f7ca5e8fffbb1208362904bb80a6 /bgpd/bgp_updgrp_packet.c
parentMerge pull request #1493 from donaldsharp/plist_stuff (diff)
downloadfrr-d3ecc69e5fba1873872a1f4dc359ff1934f81848.tar.xz
frr-d3ecc69e5fba1873872a1f4dc359ff1934f81848.zip
bgpd: move packet writes into dedicated pthread
* BGP_WRITE_ON() removed * BGP_WRITE_OFF() removed * peer_writes_on() added * peer_writes_off() added * bgp_write_proceed_actions() removed Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_updgrp_packet.c')
-rw-r--r--bgpd/bgp_updgrp_packet.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c
index a35d814e4..77b3ce193 100644
--- a/bgpd/bgp_updgrp_packet.c
+++ b/bgpd/bgp_updgrp_packet.c
@@ -633,7 +633,6 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt,
}
}
- bgp_packet_add(peer, s);
return s;
}
@@ -1149,7 +1148,6 @@ void subgroup_default_update_packet(struct update_subgroup *subgrp,
bgp_packet_set_size(s);
(void)bpacket_queue_add(SUBGRP_PKTQ(subgrp), s, &vecarr);
- subgroup_trigger_write(subgrp);
}
void subgroup_default_withdraw_packet(struct update_subgroup *subgrp)
@@ -1242,7 +1240,6 @@ void subgroup_default_withdraw_packet(struct update_subgroup *subgrp)
bgp_packet_set_size(s);
(void)bpacket_queue_add(SUBGRP_PKTQ(subgrp), s, NULL);
- subgroup_trigger_write(subgrp);
}
static void