[PATCH net-next v5 7/8] net: pktgen: fix access outside of user given buffer in pktgen_thread_write()