Re: [PATCH net-next] net/dim: Fix fixpoint divide exception in net_dim_stats_compare

2018-01-19 Thread David Miller
From: Tal Gilboa Date: Wed, 17 Jan 2018 23:13:16 +0200 > From: Talat Batheesh > > 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

[PATCH net-next] net/dim: Fix fixpoint divide exception in net_dim_stats_compare

2018-01-17 Thread Tal Gilboa
From: Talat Batheesh 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 preve