linux/include
Talat Batheesh 5165674ff5 net/dim: Fix fixpoint divide exception in net_dim_stats_compare
Helmut reported a bug about devision by zero while
running traffic and doing physical cable pull test.

When the cable unplugged the ppms become zero, so when
dividing the current ppms by the previous ppms in the
next dim iteration there is devision by zero.

This patch prevent this division for both ppms and epms.

Fixes: c3164d2fc4 ("net/mlx5e: Added BW check for DIM decision mechanism")
Fixes: 4c4dbb4a73 ("net/mlx5e: Move dynamic interrupt coalescing code to include/linux")
Reported-by: Helmut Grauer <helmut.grauer@de.ibm.com>
Signed-off-by: Talat Batheesh <talatb@mellanox.com>
Signed-off-by: Tal Gilboa <talgi@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-19 14:53:32 -05:00
..
acpi
asm-generic error-injection: Add injectable error types 2018-01-12 17:33:38 -08:00
clocksource
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-01-05 12:10:06 -08:00
drm
dt-bindings
keys
kvm
linux net/dim: Fix fixpoint divide exception in net_dim_stats_compare 2018-01-19 14:53:32 -05:00
math-emu
media
memory
misc
net caif: reduce stack size with KASAN 2018-01-19 14:02:12 -05:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace net: tracepoint: exposing sk_faimily in tracepoint inet_sock_set_state 2018-01-08 14:32:45 -05:00
uapi linux-can-next-for-4.16-20180116 2018-01-17 16:08:25 -05:00
video
xen xen: fixes for 4.15-rc5 2017-12-22 12:30:10 -08:00