summaryrefslogtreecommitdiff
path: root/lib/netns_linux.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2019-10-14 16:09:36 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-10-14 18:41:07 +0000
commit421a7dfc934f43176174ca4553b0fb2bea35b23b (patch)
treeea41a95b5499d03ec7d018b12a916d503a33919b /lib/netns_linux.c
parent1f885f315a2b8e98b4746575b216241117cfccc2 (diff)
bgpd: move assert out of error case
bgp_process_packets has an assert to make sure an appropriate amount of working space in the input buffer has been freed up for future reads. However, this assert shouldn't be made when we have encountered an error that's going to tear down the session, because in this case we may not be able to process the full contents of the input buffer. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/netns_linux.c')
0 files changed, 0 insertions, 0 deletions