diff options
author | 2016-02-03 09:49:23 +0530 | |
---|---|---|
committer | 2016-02-07 13:55:23 -0500 | |
commit | 3c0d49aaa67e1990f4c081892e9bb69070853919 (patch) | |
tree | b499fad5d9d25f7bca76dafe6d3539cd5edabcd9 /net/unix/af_unix.c | |
parent | be2net: Add retry in case of error recovery failure (diff) | |
download | wireguard-linux-3c0d49aaa67e1990f4c081892e9bb69070853919.tar.xz wireguard-linux-3c0d49aaa67e1990f4c081892e9bb69070853919.zip |
be2net: Fix interval calculation in interrupt moderation
Interrupt moderation parameters need to be recalculated only
after a time interval of 1 ms. Interval calculation is wrong
when there is a rollover of jiffies. Using recommended way of interval
calculation using jiffies to fix this.
Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@broadcom.com>
Signed-off-by: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions