diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-03-17 20:24:24 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-03-20 20:33:30 +0100 |
| commit | cf4d3f05c9263d1b0a88dbbcf9e48d34cac6708e (patch) | |
| tree | b9d221058ee131f212e440cb7d715b85591facc7 /contrib | |
| parent | 0857515c943d439eade80710c16f15f146dfa9e8 (diff) | |
| download | passt-cf4d3f05c9263d1b0a88dbbcf9e48d34cac6708e.tar passt-cf4d3f05c9263d1b0a88dbbcf9e48d34cac6708e.tar.gz passt-cf4d3f05c9263d1b0a88dbbcf9e48d34cac6708e.tar.bz2 passt-cf4d3f05c9263d1b0a88dbbcf9e48d34cac6708e.tar.lz passt-cf4d3f05c9263d1b0a88dbbcf9e48d34cac6708e.tar.xz passt-cf4d3f05c9263d1b0a88dbbcf9e48d34cac6708e.tar.zst passt-cf4d3f05c9263d1b0a88dbbcf9e48d34cac6708e.zip | |
packet: Upgrade severity of most packet errors
All errors from packet_range_check(), packet_add() and packet_get() are
trace level. However, these are for the most part actual error conditions.
They're states that should not happen, in many cases indicating a bug
in the caller or elswhere.
We don't promote these to err() or ASSERT() level, for fear of a localised
bug on very specific input crashing the entire program, or flooding the
logs, but we can at least upgrade them to debug level.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
