summaryrefslogtreecommitdiff
path: root/zebra/kernel_socket.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-01-18 09:44:52 -0800
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-01-18 09:44:52 -0800
commit4543bbb45ed250f2a6e63ada7d248e2167d02c66 (patch)
tree0bea12f924f412e779916c7d336c71af41068e83 /zebra/kernel_socket.c
parent9b1be336fabce8de6460f02b937740ba553d5267 (diff)
bgpd: Fix work-quanta to be a reasonable value
The work-quanta that a user can specify is ~4billion. If a user specifies such a large value this translates into processing 4billion outgoing packets before moving onto the next interface. This makes no sense. Reduce the value of allowed work quanta's to be between 1 and 10000. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions