CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/09/14 07:27:14
Modified files:
usr.sbin/bgpd : session.c
Log message:
throttle reads from the peer socket if more than MSG_PROCESS_LIMIT messages
are ready.
Only MSG_PROCESS_LIMIT messages are process once during a poll loop so it
makes no sense to buffer more messages by keeping the POLLIN enabled.
Once enough messages have been processed the POLLIN is enabled again
and more messages are read in. This should prevent excessive buffering
in the session engine.
OK tb@