diff --git a/_service b/_service
index cfcfbf4..a876568 100644
--- a/_service
+++ b/_service
@@ -6,7 +6,7 @@
.git
libvma
@PARENT_TAG@.@TAG_OFFSET@.%h
- 789c380f9b82727faa6cb5ea3b4b06bacbd466b4
+ ae7f37cbdd4fae4b56fb5523bab8fbdb7dbc4177
libvma*.tar
diff --git a/issue-3373882-Fix-compilation-issue-for-gcc-13.0.1.patch b/issue-3373882-Fix-compilation-issue-for-gcc-13.0.1.patch
deleted file mode 100644
index e2bf3bf..0000000
--- a/issue-3373882-Fix-compilation-issue-for-gcc-13.0.1.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-commit 24524730a0344c7de1bba2ba9a2bf637bb32153f
-Author: Igor Ivanov
-Date: Mon Feb 20 18:05:47 2023 +0200
-
- issue: 3373882 Fix compilation issue for gcc 13.0.1
-
- Signed-off-by: Igor Ivanov
-
-diff --git config/m4/compiler.m4 config/m4/compiler.m4
-index 014a01f1ed51..3c93276f7b7c 100644
---- config/m4/compiler.m4
-+++ config/m4/compiler.m4
-@@ -143,7 +143,7 @@ case $CC in
- -Wno-free-nonheap-object "
- CXXFLAGS="$CXXFLAGS -Wshadow -Wall -Wextra -Werror -Wundef \
- -ffunction-sections -fdata-sections -Wsequence-point -pipe -Winit-self -Wmissing-include-dirs \
-- -Wno-free-nonheap-object "
-+ -Wno-free-nonheap-object -Wno-overloaded-virtual "
- ;;
- icc*|icpc*)
- AC_MSG_RESULT([icc])
diff --git a/libvma-9.7.0.0.789c380f9b82.tar.gz b/libvma-9.7.0.0.789c380f9b82.tar.gz
deleted file mode 100644
index 847bbf9..0000000
--- a/libvma-9.7.0.0.789c380f9b82.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7b04415899e50e9ada8f455e2250bc36500918df0004fe018efe48a8171fc956
-size 1130293
diff --git a/libvma-9.8.40.0.ae7f37cbdd4f.tar.gz b/libvma-9.8.40.0.ae7f37cbdd4f.tar.gz
new file mode 100644
index 0000000..237c568
--- /dev/null
+++ b/libvma-9.8.40.0.ae7f37cbdd4f.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f8b57663ad829d4c8cd7176ac111e98ddcfeed3b1492a09b1bfd02919a2ca9fc
+size 1133187
diff --git a/libvma.changes b/libvma.changes
index 836234f..d8e0058 100644
--- a/libvma.changes
+++ b/libvma.changes
@@ -1,3 +1,23 @@
+-------------------------------------------------------------------
+Mon Oct 2 08:10:03 UTC 2023 - Nicolas Morey
+
+- Update to v9.8.40
+ - RM #3593939 DPCP dependency
+ - RM #3591039 Wrong lwip seqno wrap around condition
+ - RM #3591039 Type overflow during trimming TCP seg
+ - RM #3591039 Ref count for mem_buf chains
+ - RM #3591039 GRO retransmitted TCP stream
+ - RM #3591039 Incorrect pbuf chain split
+ - RM #3604175 Fixing stuck empty rx ring cleanup
+ - RM #3525812 Socketxtreme buffer reclaim leak
+ - RM #3420360 Support for ConnectX-7
+ - RM #3373882 Fix compilation issue for gcc 13.0.1
+ - RM #3321730 Update the copyright statement to 2023
+ - RM #3249310 Support only systemctl for vma service setup/removal
+ - RM #321712 Prevent failure of debian postinst script
+- Drop patch fixed upstream:
+ - issue-3373882-Fix-compilation-issue-for-gcc-13.0.1.patch
+
-------------------------------------------------------------------
Wed Mar 29 08:41:11 UTC 2023 - Nicolas Morey
diff --git a/libvma.spec b/libvma.spec
index 48e19a5..15d9375 100644
--- a/libvma.spec
+++ b/libvma.spec
@@ -17,18 +17,17 @@
#
-%define git_ver .0.789c380f9b82
+%define git_ver .0.ae7f37cbdd4f
%define lib_major 9
Name: libvma
Summary: A library for boosting TCP and UDP traffic (over RDMA hardware)
License: BSD-2-Clause OR GPL-2.0-only
Group: Development/Libraries/C and C++
-Version: 9.7.0
+Version: 9.8.40
Release: 0
Source0: %{name}-%{version}%{git_ver}.tar.gz
Source1: vma.service
-Patch1: issue-3373882-Fix-compilation-issue-for-gcc-13.0.1.patch
Patch3: harden_vma.service.patch
URL: https://github.com/Mellanox/libvma
BuildRequires: autoconf
@@ -72,7 +71,6 @@ Headers and symbolink link required to compile and link with the Libvma library.
%prep
%setup -q -n %{name}-%{version}%{git_ver}
-%patch1
%patch3 -p1
%build