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

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