Commit c338cf27 authored by Sujeet Kumar's avatar Sujeet Kumar
Browse files

USB: u_bam: Reserve skb headroom only if needed



Check if skb headroom is not available, then
reserve headroom.

Incase this is not done, it leads to skb_panic
because skb head would become lesser than skb
data.

CRs-Fixed: 644290
Change-Id: I9754abd01833d264ad0a73152c8a49be19364246
Signed-off-by: default avatarSujeet Kumar <ksujeet@codeaurora.org>
parent 26b467a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment