Skip to content
Commit 42ea9614 authored by Chris Lew's avatar Chris Lew
Browse files

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: default avatarChris Lew <clew@codeaurora.org>
parent d566aadf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment