summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorMichael Brown2010-11-05 23:24:46 +0100
committerMichael Brown2010-11-08 04:35:35 +0100
commit6e41f2cf18217dd5f4086852b61bb6f0146c1e0b (patch)
tree6d5e696d2e626d5187e69428d9d987e8cae9d5fb /src/net
parent[malloc] Use list_for_each_entry_safe() when we may delete a list entry (diff)
downloadipxe-6e41f2cf18217dd5f4086852b61bb6f0146c1e0b.tar.gz
ipxe-6e41f2cf18217dd5f4086852b61bb6f0146c1e0b.tar.xz
ipxe-6e41f2cf18217dd5f4086852b61bb6f0146c1e0b.zip
[refcnt] Check reference validity on each use of ref_get() and ref_put()
Check that the reference count is valid (i.e. non-negative) on each call to ref_get() and ref_put(), using an assert() at the point of use. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net')
0 files changed, 0 insertions, 0 deletions