Fix dtrace probes (introduced by gnn@ in 287759): debug__input was used
for output and drop; connect didn't always fire a user probe; some probes
were missing in fastpath
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
My motivation is to use dtrace instead of TCPDEBUG, thus I complemented every tcp_trace with a TCP_PROBE afterwards (some were missing). Moving around the m_free(m) is solely to have the consistency of #ifdef TCPDEBUG.. #endif followed by TCP_PROBE (if you prefer, the TCP_PROBE can be moved upwards, and the m_free stay at the same place as before.
Comment Actions
Regarding m_free(m), I guess it makes sense to have TCP_PROBE follow TCPDEBUG everywhere for better readability.
Looks good to me.