Blame SOURCES/0241-Revert-trim-arp-packets-with-abnormal-size.patch

f731ee
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
f731ee
From: Peter Jones <pjones@redhat.com>
f731ee
Date: Thu, 18 May 2017 14:25:45 -0400
f731ee
Subject: [PATCH] Revert "trim arp packets with abnormal size"
f731ee
f731ee
This reverts commit d11b2eb425d2125f67dd8d8e9b11d9be7d6f3f11.
f731ee
---
f731ee
 grub-core/net/arp.c | 6 ------
f731ee
 1 file changed, 6 deletions(-)
f731ee
f731ee
diff --git a/grub-core/net/arp.c b/grub-core/net/arp.c
f731ee
index 77581f4b29a..d62d0cc1e01 100644
f731ee
--- a/grub-core/net/arp.c
f731ee
+++ b/grub-core/net/arp.c
f731ee
@@ -162,12 +162,6 @@ grub_net_arp_receive (struct grub_net_buff *nb,
f731ee
     if (grub_net_addr_cmp (&inf->address, &target_addr) == 0
f731ee
 	&& grub_be_to_cpu16 (arp_header->op) == ARP_REQUEST)
f731ee
       {
f731ee
-        if ((nb->tail - nb->data) > 50)
f731ee
-          {
f731ee
-            grub_dprintf ("net", "arp packet with abnormal size (%ld bytes).\n",
f731ee
-                         nb->tail - nb->data);
f731ee
-            nb->tail = nb->data + 50;
f731ee
-          }
f731ee
 	grub_net_link_level_address_t target;
f731ee
 	/* We've already checked that pln is either 4 or 16.  */
f731ee
 	char tmp[16];