commit | de0c5df79c3e7b19bbed7f49edf4672727600f2a | [log] [tgz] |
---|---|---|
author | Rajkumar Raghupathy <raghup@codeaurora.org> | Thu May 23 11:37:41 2013 +0530 |
committer | Rajkumar Raghupathy <raghup@codeaurora.org> | Fri May 24 16:37:53 2013 +0530 |
tree | c9b15e0a38623b76f6710d9e0b1fae2423ef9b63 | |
parent | 3086d236f1d158840f94cb2fc7dd5ca08066f800 [diff] |
u_ether: Handle memory allocation failure case on tx path With multipacket feature enabled, if the memory allocation for tx request buffer fails, accessing the req->buf leads to null pointer dereference crash. Hence, handle memory alloction failure case and return -ENOMEM. CRs-Fixed: 490085 Change-Id: Ic5faac8ea7eb056755b03007c48ff085f10afa20 Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>