commit | 42ea96148355f850dda590c0f8a9f72c29b15424 | [log] [tgz] |
---|---|---|
author | Chris Lew <clew@codeaurora.org> | Wed Oct 04 15:58:16 2017 -0700 |
committer | Chris Lew <clew@codeaurora.org> | Thu Oct 05 14:41:34 2017 -0700 |
tree | cabdf62419e9d908d4f1d8519ed44a3b0d66314b | |
parent | d566aadf6ec786bde5f1a2e589aac5408e1cff7b [diff] |
net: ipc_router: Validate return from skb_peek The skb_peek and skb_peek_tail functions can return NULL if the skb list is empty. Check the return value before using the skb. CRs-Fixed: 2121368 Change-Id: If14320104ec37b8b7504e930ed8fd06e72d08724 Signed-off-by: Chris Lew <clew@codeaurora.org>