aboutsummaryrefslogtreecommitdiff
path: root/scripts/makelst
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2016-05-09 11:01:04 +0200
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:58:39 +0200
commit4d0a2b6053379a4138fcd3a02b59b9a5d45d2cc2 (patch)
tree2bdd3c26a96120c2be581f4af1039b5bd08ec2e0 /scripts/makelst
parent6a0d0edfac893e0a0041a37c5a28d23eada872cb (diff)
net: disable fragment reassembly if high_thresh is set to zero
commit 30759219f562cfaaebe7b9c1d1c0e6b5445c69b0 upstream. Before commit 6d7b857d541e ("net: use lib/percpu_counter API for fragmentation mem accounting"), setting high threshold to 0 prevented fragment reassembly as first fragment would be always evicted before second could be added to the queue. While inefficient, some users apparently relied on it. Since the commit mentioned above, a percpu counter is used for reassembly memory accounting and high batch size avoids taking slow path in most common scenarios. As a result, a whole full sized packet can be reassembled without the percpu counter's main counter changing its value so that even with high_thresh set to 0, fragmented packets can be still reassembled and processed. Add explicit checks preventing reassembly if high threshold is zero. [mk] backport to 3.12 Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: Jiri Slaby <jslaby@suse.cz> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'scripts/makelst')
0 files changed, 0 insertions, 0 deletions