33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 3d5ac4bd5e07c574b387523863070f904657934b Mon Sep 17 00:00:00 2001
|
|
From: Jens Osterkamp <jens@linux.vnet.ibm.com>
|
|
Date: Wed, 6 Apr 2011 08:33:48 -0700
|
|
Subject: [PATCH 27/51] bugfix in bridge implementation
|
|
|
|
fixes a bug in the bridge state machine where still port->profile was used
|
|
instead of vdp_data (vd).
|
|
|
|
Reported-By: Zhifeng, Cai <bluewindow@h3c.com>
|
|
Signed-off-by: Jens Osterkamp <jens@linux.vnet.ibm.com>
|
|
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
|
|
Signed-off-by: Petr Sabata <psabata@redhat.com>
|
|
---
|
|
lldp_vdp.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/lldp_vdp.c b/lldp_vdp.c
|
|
index b3c7726..9b1d222 100644
|
|
--- a/lldp_vdp.c
|
|
+++ b/lldp_vdp.c
|
|
@@ -740,7 +740,7 @@ static void vdp_vsi_sm_bridge(struct vsi_profile *profile)
|
|
LLDPAD_DBG("%s(%i)-%s: framein %p, sizein %i\n", __func__, __LINE__,
|
|
profile->port->ifname, vd->ecp.rx.framein,
|
|
vd->ecp.rx.sizein);
|
|
- ecp_rx_send_ack_frame(profile->port);
|
|
+ ecp_rx_send_ack_frame(vd);
|
|
break;
|
|
case VSI_PREASSOCIATED:
|
|
LLDPAD_DBG("%s(%i)-%s: \n", __func__, __LINE__, profile->port->ifname);
|
|
--
|
|
1.7.4.4
|
|
|