Commit a8607283 authored by Björn Töpel's avatar Björn Töpel Committed by Daniel Borkmann
Browse files

selftests/bpf: Fix style warnings

parent 449f0874
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -734,8 +734,8 @@ static void worker_pkt_validate(void)
			break;
		/*do not increment pktcounter if !(tos=0x9 and ipv4) */
		if ((((struct iphdr *)(pkt_node_rx_q->pkt_frame +
				       sizeof(struct ethhdr)))->version == IP_PKT_VER)
		    && (((struct iphdr *)(pkt_node_rx_q->pkt_frame + sizeof(struct ethhdr)))->tos ==
				       sizeof(struct ethhdr)))->version == IP_PKT_VER) &&
		    (((struct iphdr *)(pkt_node_rx_q->pkt_frame + sizeof(struct ethhdr)))->tos ==
			IP_PKT_TOS)) {
			payloadseqnum = *((uint32_t *)(pkt_node_rx_q->pkt_frame + PKT_HDR_SIZE));
			if (debug_pkt_dump && payloadseqnum != EOT) {