代码拉取完成,页面将自动刷新
同步操作将从 src-anolis-os/grub2 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Thu, 18 May 2017 14:25:45 -0400
Subject: [PATCH] Revert "trim arp packets with abnormal size"
This reverts commit d11b2eb425d2125f67dd8d8e9b11d9be7d6f3f11.
---
grub-core/net/arp.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/grub-core/net/arp.c b/grub-core/net/arp.c
index d1c69ed2b..54306e3b1 100644
--- a/grub-core/net/arp.c
+++ b/grub-core/net/arp.c
@@ -150,12 +150,6 @@ grub_net_arp_receive (struct grub_net_buff *nb, struct grub_net_card *card,
if (grub_net_addr_cmp (&inf->address, &target_addr) == 0
&& arp_packet->op == grub_cpu_to_be16_compile_time (ARP_REQUEST))
{
- if ((nb->tail - nb->data) > 50)
- {
- grub_dprintf ("net", "arp packet with abnormal size (%ld bytes).\n",
- nb->tail - nb->data);
- nb->tail = nb->data + 50;
- }
grub_net_link_level_address_t target;
struct grub_net_buff nb_reply;
struct arppkt *arp_reply;
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。