kernel: fix bidirectional hardware flow offload