summaryrefslogtreecommitdiff
path: root/drivers/oprofile/oprofile_stats.c
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2011-04-01 21:47:41 -0700
committerDavid S. Miller <davem@davemloft.net>2011-04-01 21:47:41 -0700
commit2fceec13375e5d98ef033c6b0ee03943fc460950 (patch)
tree34870f61085509c0ff3d8cef819846fc31e94e7c /drivers/oprofile/oprofile_stats.c
parent2cab86bee8e7f353e6ac8c15b3eb906643497644 (diff)
tcp: len check is unnecessarily devastating, change to WARN_ON
All callers are prepared for alloc failures anyway, so this error can safely be boomeranged to the callers domain without super bad consequences. ...At worst the connection might go into a state where each RTO tries to (unsuccessfully) re-fragment with such a mis-sized value and eventually dies. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/oprofile/oprofile_stats.c')
0 files changed, 0 insertions, 0 deletions