summaryrefslogtreecommitdiffstats
path: root/crypto/ahash.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-07-03 20:55:21 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-09 00:01:49 -0700
commit960fb66e520a405dde39ff883f17ff2669c13d85 (patch)
treec59b298e45158401419fc42088dad8edf754e535 /crypto/ahash.c
parentb94e52f62683dc0b00c6d1b58b80929a078c0fd5 (diff)
downloadop-kernel-dev-960fb66e520a405dde39ff883f17ff2669c13d85.zip
op-kernel-dev-960fb66e520a405dde39ff883f17ff2669c13d85.tar.gz
netem: add limitation to reordered packets
Fix two netem bugs : 1) When a frame was dropped by tfifo_enqueue(), drop counter was incremented twice. 2) When reordering is triggered, we enqueue a packet without checking queue limit. This can OOM pretty fast when this is repeated enough, since skbs are orphaned, no socket limit can help in this situation. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Mark Gordon <msg@google.com> Cc: Andreas Terzis <aterzis@google.com> Cc: Yuchung Cheng <ycheng@google.com> Cc: Hagen Paul Pfeifer <hagen@jauu.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/ahash.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud