summaryrefslogtreecommitdiffstats
path: root/lib/libgeom/geom_util.c
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-09-07 11:38:30 +0000
committerbz <bz@FreeBSD.org>2008-09-07 11:38:30 +0000
commitfffe39bcea71473bf99577f1936bf93939e79e24 (patch)
treead7e9647fa2a698d33e67787008eed1c03cb33e7 /lib/libgeom/geom_util.c
parent5d3f53e84925fd84075c5fdf8ac8fdce89b13a94 (diff)
downloadFreeBSD-src-fffe39bcea71473bf99577f1936bf93939e79e24.zip
FreeBSD-src-fffe39bcea71473bf99577f1936bf93939e79e24.tar.gz
Add a second KASSERT checking for len >= 0 in the tcp output path.
This is different to the first one (as len gets updated between those two) and would have caught various edge cases (read bugs) at a well defined place I had been debugging the last months instead of triggering (random) panics further down the call graph. MFC after: 2 months
Diffstat (limited to 'lib/libgeom/geom_util.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud