packet: bail out of packet_snd() if L2 header creation fails