summaryrefslogtreecommitdiff
path: root/ring_rx.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-05-12 13:15:11 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-05-12 13:18:23 +0200
commite12a08652f7d2b92e75d8dd7b8528d1d0e69b2a8 (patch)
treead446f3eb4e40e4aeecad8b919537b4c3827034d /ring_rx.h
parent10a80a61d67516c0ba4c13a7c07e9ebfa6fab9c5 (diff)
geoip: Don't leak file/socket descriptor in error case
In certain error cases, the file/socket descriptors are not closed in geoip_get_database(). This was discovered by the coverity scanner. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ring_rx.h')
0 files changed, 0 insertions, 0 deletions
Same, which makes a proper fallback to other methods in __blkdev_issue_zeroout impossible. Thus only issue a Write Same from blkdev_issue_zeroout an don't try it at all from __blkdev_issue_zeroout as a non-invasive workaround. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Junichi Nomura <j-nomura@ce.jp.nec.com> Fixes: e73c23ff ("block: add async variant of blkdev_issue_zeroout") Tested-by: Junichi Nomura <j-nomura@ce.jp.nec.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'net/ipv6/Makefile')