The current QRTR transport feature set does not support fragmented skbs which is a problem for packets that are forwarded from the rx path. In order to linearize the skb, skb_put_padto() and skb_linearize() try to allocate enough memory with GFP_ATOMIC but are prone to failure. Pre-allocate enough headroom with GFP_KERNEL on forwarded packets. If there are still problems with allocation, then continue and drop the packet in qrtr_node_enqueue(). Change-Id: I7de6620bba26746698237d913ce064ea5725f921 Signed-off-by: Chris Lew <clew@codeaurora.org>tirimbino
parent
870f0ba0fc
commit
7f745d0379
Loading…
Reference in new issue