Log all errors for PRUs, except when INP_DROPPED is set. In that case don't log it.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I like the combing of all these functions prologue.
I have one note, though. The "PRU" in the commit message made me notice that tcp_bblog_pru() again started to use this PRU_XXX namespace. If you started using it again, it needs to get out of in_kdtrace.h. But I'd rather suggest to create some own namespace for BB logging and forget this legacy. The long story of PRU_XXX namespace can be found in a comment in in_kdtrace.h.
Comment Actions
We can move things around as long as the numbers are not changed. I use them in the wireshark dissector: packet-bblog.c:179. Let us discuss this on Thursday in the transport call.