From: Arjan van de Ven Date: Fri, 23 Oct 2009 04:37:56 +0000 (-0700) Subject: net: use WARN() for the WARN_ON in commit b6b39e8f3fbbb X-Git-Tag: v2.6.32-rc6~32^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c62f4c453ab4b0240ab857bfd089da2c01ad91e7;p=pandora-kernel.git net: use WARN() for the WARN_ON in commit b6b39e8f3fbbb Commit b6b39e8f3fbbb (tcp: Try to catch MSG_PEEK bug) added a printk() to the WARN_ON() that's in tcp.c. This patch changes this combination to WARN(); the advantage of WARN() is that the printk message shows up inside the message, so that kerneloops.org will collect the message. In addition, this gets rid of an extra if() statement. Signed-off-by: Arjan van de Ven Signed-off-by: David S. Miller --- Reading git-diff-tree failed