[PATCH net-next v1 3/5] net: pktgen: fix access outside of user given buffer in pktgen_thread_write()