Re: [PATCH 2/2 v2] Bluetooth: Fix system crash bug of no send queue protect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gustavo,

> sk->sk_send_head is also protected by the socket lock.
>

I thought you mean sk->tx_queue.lock, actually it's sk->sk_lock.slock.

But there could be some paths have not been covered.

> This dump shows that the crash happens for a code that is not mainline
> yet. I can't take a patch that fix a bug for code not in mainline. You
> have to show the bug using mainline code.
>

Yes, it is not mainline code, but this issue could be common issue.

OK, let me try use sk->sk_lock.slock to solve this bug.

-- 
Haijun Liu
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux