diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2009-10-23 06:37:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-23 06:37:56 +0200 |
commit | c62f4c453ab4b0240ab857bfd089da2c01ad91e7 (patch) | |
tree | 2c99ed102d752d762cc051ee1e89539e0453bdc0 /drivers/net | |
parent | e1000e: reset the PHY on 82577/82578 when going to Sx (diff) | |
download | linux-c62f4c453ab4b0240ab857bfd089da2c01ad91e7.tar.xz linux-c62f4c453ab4b0240ab857bfd089da2c01ad91e7.zip |
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 <arjan@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
0 files changed, 0 insertions, 0 deletions