Initialize data to packet instead of None.