Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tcp: fix a panic on UP machines in reqsk_fastopen_remove
spin_is_locked() on a non !SMP build is kind of useless. BUG_ON(!spin_is_locked(xx)) is guaranteed to crash. Just remove this check in reqsk_fastopen_remove() as the callers do hold the socket lock. Reported-by: Ketan Kulkarni <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Cc: Jerry Chu <[email protected]> Cc: Yuchung Cheng <[email protected]> Cc: Dave Taht <[email protected]> Acked-by: H.K. Jerry Chu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information