[PATCH openEuler-5.10 73/89] bpf: Make sure mac_header was set before using it