Return NULL packet if required.
Change queue reference to queue pointer.