summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_syncache.c
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2003-11-10 22:21:00 +0000
committertruckman <truckman@FreeBSD.org>2003-11-10 22:21:00 +0000
commit23058182407fb7fb4e47e5b3d9c3cd9a1baee996 (patch)
tree7d95fa7cfd0de0fed388538cac10c6044fef0533 /sys/netinet/tcp_syncache.c
parentc038927dceca1b1596cfad4d5fec1b0b2c7d99a9 (diff)
downloadFreeBSD-src-23058182407fb7fb4e47e5b3d9c3cd9a1baee996.zip
FreeBSD-src-23058182407fb7fb4e47e5b3d9c3cd9a1baee996.tar.gz
If fifo_open() is interrupted, fifo_close() may not get called, causing
a resource leak. Move the resource deallocation code from fifo_close() to a new function, fifo_cleanup(), and call fifo_cleanup() from fifo_close() and the appropriate places in fifo_open(). Tested by: Lukas Ertl Pointy hat to: truckman
Diffstat (limited to 'sys/netinet/tcp_syncache.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud