Fix the bug for LLDP (send/receive) and add the null condition check for
topologyInstance.