commit | 9331f6e7526d907bb8324c4805cb113a4f4f9d81 | [log] [tgz] |
---|---|---|
author | Sivan Reinstein <sivanr@codeaurora.org> | Tue Sep 08 14:04:41 2015 +0300 |
committer | Sivan Reinstein <sivanr@codeaurora.org> | Tue Sep 08 14:04:41 2015 +0300 |
tree | aad178ed1cd0dfafffdfbcf70cb1fe5393bb4b56 | |
parent | b707257475419ad70852346cd4be4fb541421c70 [diff] |
IPACM: Fix a check of mmap call When opening a NAT table, IPACM requests to mmap the nat device. The failure check needs to be against MAP_FAILED and not against NULL as a return value from mmap. Change-Id: If8f3553c8ebb08b525d77c1ec4644bd9ee829d54 Acked-by: David Arinzon <darinzon@qti.qualcomm.com>