<commit_before><commit_msg>This patch works around a problem where OVS build fails when compiled against a 3.18.13 or newer kernel.<commit_after>From 5919cb26c631b1dd77a745a3c546f9d117ed34b3 Mon Sep 17 00:00:00 2001
From: <NAME> <<EMAIL>>
Date: Sat, 23 May 2015 18:12:09 +0200
Subject: [PATCH] datapath: do not add vlan_hwaccel_push_inside() for kernel >=
 3.18.13

The vlan_hwaccel_push_inside() function was backported in this commit
to kernel 3.18.13:

commit a67e2e88342accd49587d9bad72f6dabd7673f7c
Author: <NAME> <<EMAIL>>
Date:   Wed Nov 19 14:04:59 2014 +0100

    vlan: introduce *vlan_hwaccel_push_inside helpers

    [ Upstream commit 5968250c868ceee680aa77395b24e6ddcae17d36 ]

Without this patch compilation breaks on kernel >= 3.18.13

Signed-off-by: <NAME> <<EMAIL>>
---
 datapath/linux/compat/include/linux/if_vlan.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/datapath/linux/compat/include/linux/if_vlan.h
+++ b/datapath/linux/compat/include/linux/if_vlan.h
@@ -52,7 +52,7 @@ static inline struct sk_buff *rpl_vlan_i
 }
 #endif

-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,19,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,18,13)
 /*
  * __vlan_hwaccel_push_inside - pushes vlan tag to the payload
  * @skb: skbuff to tag

{'fraction_non_alphanumeric': 0.11004784688995216, 'fraction_numerical': 0.12440191387559808, 'mean_word_length': 4.947867298578199, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7064215', 'n_tokens_mistral': 598, 'n_tokens_neox': 489, 'n_words': 121}