CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2019/04/07 04:52:30

Modified files:
        usr.sbin/bgpd  : session.c session.h 

Log message:
Be more careful when setting timeout to 0 because there is pending work
on a peer. Just checking the peer read buffer size is not enough since
the data present could be a partial message and so the SE should sleep
until a new POLLIN event fires. Adjust the logic by adding a rpending
flag that is only set if reading the session buffer was exited early
because MSG_PROCESS_LIMIT was hit.
OK benno@

Reply via email to