From 7ac8a38538b4ecedaa5f8478d2172802dad23e7e Mon Sep 17 00:00:00 2001
From: Andy Whitcroft <apw@canonical.com>
Date: Wed, 31 Jan 2018 15:38:26 +0000
Subject: [PATCH 038/104] Revert "ipv6: prevent speculative execution"

CVE-2017-5753 (revert embargoed)
CVE-2017-5715 (revert embargoed)

This reverts commit fdb98114a31aa5c0083bd7cd5b42ea569b6f77dc.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 net/ipv6/raw.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c
index 1a0eae661512..60be012fe708 100644
--- a/net/ipv6/raw.c
+++ b/net/ipv6/raw.c
@@ -726,7 +726,6 @@ static int raw6_getfrag(void *from, char *to, int offset, int len, int odd,
 	if (offset < rfv->hlen) {
 		int copy = min(rfv->hlen - offset, len);
 
-		gmb();
 		if (skb->ip_summed == CHECKSUM_PARTIAL)
 			memcpy(to, rfv->c + offset, copy);
 		else
-- 
2.15.1

