diff options
author | Eric Dumazet <edumazet@google.com> | 2013-01-13 18:21:51 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-14 10:48:02 -0800 |
commit | d0f5d39ef79b9b4023f51664e15a5373ea3ea9eb (patch) | |
tree | 9549df99f14718938f0e16bce0e157d740eea4e0 /drivers/net/xen-netback/interface.c | |
parent | 10bff21d37cd8751f4fd445dbffd3603f45ff453 (diff) |
tcp: fix a panic on UP machines in reqsk_fastopen_remove
[ Upstream commit cce894bb824429fd312706c7012acae43e725865 ]
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 <ketkulka@gmail.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jerry Chu <hkchu@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Cc: Dave Taht <dave.taht@gmail.com>
Acked-by: H.K. Jerry Chu <hkchu@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions