aboutsummaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/installers/skb-frag-off.patch
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-10-04 22:38:50 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-04 22:38:50 +0000
commitd4f772ef1c8f89fed4d4fd50a783628ef9ea4467 (patch)
tree1f549b64f2efb20da87cf42e1bc5e1abca5e6952 /kud/deployment_infra/installers/skb-frag-off.patch
parent2dde920d0f80d7c7fc3f2ed7ff41675ae6c28733 (diff)
parente909ce962b520ef1deaf02f9b53889f0db9e9212 (diff)
Merge "Fix iavf driver build failure"
Diffstat (limited to 'kud/deployment_infra/installers/skb-frag-off.patch')
-rw-r--r--kud/deployment_infra/installers/skb-frag-off.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/kud/deployment_infra/installers/skb-frag-off.patch b/kud/deployment_infra/installers/skb-frag-off.patch
new file mode 100644
index 00000000..935828ee
--- /dev/null
+++ b/kud/deployment_infra/installers/skb-frag-off.patch
@@ -0,0 +1,14 @@
+diff --git a/src/kcompat.h b/src/kcompat.h
+index 21e9818..97abc2f 100644
+--- a/src/kcompat.h
++++ b/src/kcompat.h
+@@ -7074,7 +7074,8 @@ devlink_flash_update_status_notify(struct devlink __always_unused *devlink,
+ /*****************************************************************************/
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(5,4,0))
+ #if (!(RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8,2)) && \
+- !(SLE_VERSION_CODE >= SLE_VERSION(15,2,0)))
++ !(SLE_VERSION_CODE >= SLE_VERSION(15,2,0)) && \
++ !(UBUNTU_VERSION_CODE >= UBUNTU_VERSION(4,15,0,159)))
+ static inline unsigned int skb_frag_off(const skb_frag_t *frag)
+ {
+ return frag->page_offset;