Fix TUNNELRECV data and length inconsistency problem

DO NOT MERGE YET