diff options
| author | Michael Brown | 2010-11-06 00:13:22 +0100 |
|---|---|---|
| committer | Michael Brown | 2010-11-08 04:35:36 +0100 |
| commit | 41231fda9c6989c2e1fcc41abef307531926a804 (patch) | |
| tree | 032a3ac48ca092e8dce106435599013d5b0a6940 /src/include/ipxe/fc.h | |
| parent | [fc] Allow peers and ULPs to log out when usage count reaches zero (diff) | |
| download | ipxe-41231fda9c6989c2e1fcc41abef307531926a804.tar.gz ipxe-41231fda9c6989c2e1fcc41abef307531926a804.tar.xz ipxe-41231fda9c6989c2e1fcc41abef307531926a804.zip | |
[fc] Hold ULP's peer reference while ULP exists
Allow fc_ulp_decrement() to guarantee to fc_peer_decrement() that the
peer reference remains valid for the duration of the call, by ensuring
that ulp->peer remains valid while ulp is valid.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/fc.h')
0 files changed, 0 insertions, 0 deletions
