Searched hist:148196 (Results 1 - 2 of 2) sorted by relevance

/freebsd-9.3-release/sys/contrib/pf/net/
H A Dpfvar.hdiff 148196 Wed Jul 20 16:58:27 MDT 2005 mlaier Prevent a race condition. As pf_send_tcp() - called for expired synproxy
states - has to drop the lock when calling back to ip_output(), the state
purge timeout might run and gc the state. This results in a rb-tree
inconsistency. With this change we flag expiring states while holding the
lock and back off if the flag is already set.

Reported by: glebius
MFC after: 2 weeks
H A Dpf.cdiff 148196 Wed Jul 20 16:58:27 MDT 2005 mlaier Prevent a race condition. As pf_send_tcp() - called for expired synproxy
states - has to drop the lock when calling back to ip_output(), the state
purge timeout might run and gc the state. This results in a rb-tree
inconsistency. With this change we flag expiring states while holding the
lock and back off if the flag is already set.

Reported by: glebius
MFC after: 2 weeks

Completed in 123 milliseconds