From 55f0335e90908b4f052594c14f7636413b894676 Mon Sep 17 00:00:00 2001 From: Wei Zhao Date: Thu, 7 May 2020 09:15:41 +0800 Subject: [PATCH] net/ice/base: fix PPPoE-IPv6 dummy packet The dummy packet for pppoe-ipv6 has an error, we should use 0x3b for next header in ipv6 header in the dummy packet, or some case can not be download, such as: "eth / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions vf id 1 / end" Fixes: 55d61fb27a5e ("net/ice/base: add PPPoE IPv6 dummy packet") Signed-off-by: Wei Zhao Tested-by: Nannan Lu Acked-by: Qi Zhang --- drivers/net/ice/base/ice_switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c index f3d52d2dc4..17fbd26dae 100644 --- a/drivers/net/ice/base/ice_switch.c +++ b/drivers/net/ice/base/ice_switch.c @@ -577,7 +577,7 @@ static const u8 dummy_pppoe_ipv6_packet[] = { 0x00, 0x57, /* PPP Link Layer 24 */ 0x60, 0x00, 0x00, 0x00, /* ICE_IPV6_OFOS 26 */ - 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -- 2.20.1