]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Revert "ipv6: prevent speculative execution"
authorAndy Whitcroft <apw@canonical.com>
Wed, 31 Jan 2018 15:38:26 +0000 (15:38 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 5 Feb 2018 15:52:59 +0000 (16:52 +0100)
CVE-2017-5753 (revert embargoed)
CVE-2017-5715 (revert embargoed)

This reverts commit fdb98114a31aa5c0083bd7cd5b42ea569b6f77dc.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
net/ipv6/raw.c

index 1a0eae661512b608e1d114e926dfbe7a85f100b9..60be012fe7085cc7a199e84333cef5ee95ed1f04 100644 (file)
@@ -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