summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx/mlx_pci.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2009-05-27 01:45:23 +0000
committeradrian <adrian@FreeBSD.org>2009-05-27 01:45:23 +0000
commit712491866f164421c559ba7b551df6f90768a067 (patch)
tree87a502d829bd946874396c7feb75e62ca4fd3765 /sys/dev/mlx/mlx_pci.c
parentdc2eb1b92ac858ad80ad8666106694e31132c066 (diff)
downloadFreeBSD-src-712491866f164421c559ba7b551df6f90768a067.zip
FreeBSD-src-712491866f164421c559ba7b551df6f90768a067.tar.gz
Add in some INVARIANT checks in the TX mbuf descriptor "freelist" management code.
Slot 0 must always remain "free" and be a pointer to the first free entry in the mbuf descriptor list. It is thus an error to have code allocate or push slot 0 back into the list.
Diffstat (limited to 'sys/dev/mlx/mlx_pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud