diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-07-10 12:37:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-10 21:34:00 +0300 |
commit | de92cd6cf4899c0876a8f5519769a786ad7cdeea (patch) | |
tree | 2645b55a1b1195a8cac145728efc862b42693fe4 /scripts/gdb/linux/utils.py | |
parent | b36c20244af3cc09b7d38fcd12d8d97c95a96a8e (diff) | |
download | linux-de92cd6cf4899c0876a8f5519769a786ad7cdeea.tar.xz |
net/mlx5: IPSec, fix 64-bit division correctly
The new IPSec offload code introduced a build error:
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.o: In function `mlx5e_ipsec_build_inverse_table':
ipsec_rxtx.c:(.text+0x556): undefined reference
Another patch was added on top to fix the build error, but
that introduced a new bug, as we now use the remainder of
the division rather than the result.
This makes it use the correct helper function instead.
Fixes: 5dfd87b67cd9 ("net/mlx5: IPSec, Fix 64-bit division on 32-bit builds")
Fixes: 2ac9cfe78223 ("net/mlx5e: IPSec, Add Innova IPSec offload TX data path")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Ilan Tayari <ilant@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions