Bluetooth: Fix wrong set of skb fragments
If alloc() fails we let the frags linked list with garbage value (the err ptr value) in its last element. Reported-by: NMat Martineau <mathewm@codeaurora.org> Signed-off-by: NGustavo Padovan <gustavo@padovan.org> Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
Showing
想要评论请 注册 或 登录