[lldp-devel] [PATCH] vdp set size of filter data list to zero

Thomas Richter tmricht at linux.vnet.ibm.com
Tue Nov 12 12:48:39 UTC 2013

The VDP protocol draft 0.2 does not support the
return of changed VLAN identifiers from the switch to
the station. There is no need to return changes in
the filter data to the originator of the VSI request.
So set the size of the filter information data to
zero and nothing is returned.

Signed-off-by: Thomas Richter <tmricht at linux.vnet.ibm.com>
 qbg/vdp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qbg/vdp.c b/qbg/vdp.c
index e38375a..f522f91 100644
--- a/qbg/vdp.c
+++ b/qbg/vdp.c
@@ -1822,6 +1822,7 @@ int vdp_status(int number, struct vdpnl_vsi *vsi)
 	if (ret) {
+		vsi->macsz = 0;
 		vsi->response = p->response;
 		memcpy(vsi->vsi_uuid, p->instance, sizeof vsi->vsi_uuid);
 		if (p->response != VDP_RESPONSE_NO_RESPONSE

More information about the lldp-devel mailing list