From: Eric Dumazet Date: Sun, 13 Jan 2013 18:21:51 +0000 (+0000) Subject: tcp: fix a panic on UP machines in reqsk_fastopen_remove X-Git-Tag: v3.8-rc6~20^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cce894bb824429fd312706c7012acae43e725865;p=pandora-kernel.git 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 Signed-off-by: Eric Dumazet Cc: Jerry Chu Cc: Yuchung Cheng Cc: Dave Taht Acked-by: H.K. Jerry Chu Signed-off-by: David S. Miller --- Reading git-diff-tree failed