diff options
author | Martijn van Duren <martijn@cvs.openbsd.org> | 2023-11-20 10:32:46 +0000 |
---|---|---|
committer | Martijn van Duren <martijn@cvs.openbsd.org> | 2023-11-20 10:32:46 +0000 |
commit | f38f180651b835135458eb9beee8a09b9e3cb926 (patch) | |
tree | b15d906eacd693c7615ab81e199b4e9cda7d0c59 /regress/usr.sbin/snmpd/regress.h | |
parent | 43f058aab1ca1c54479562d3e75447e347c9c595 (diff) |
In snmpe_writecb, don't call snmpe_prepare_read() when there's still
data left inside sm_data. If there's an incomplete packet left in the
buffer it will be called from snmpe_tryparse, if there's a complete
packet left we can end up with new events from the tcp socket, which the
tcp subsystem isn't prepared to handle.
OK tb@
Diffstat (limited to 'regress/usr.sbin/snmpd/regress.h')
0 files changed, 0 insertions, 0 deletions