Unverified Commit 885ac217 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!11192 af_packet: do not call packet_read_pending() from tpacket_destruct_skb()

parents 73a86ad6 88f15278
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2437,7 +2437,6 @@ static void tpacket_destruct_skb(struct sk_buff *skb)
		ts = __packet_set_timestamp(po, ph, skb);
		__packet_set_status(po, ph, TP_STATUS_AVAILABLE | ts);

		if (!packet_read_pending(&po->tx_ring))
		complete(&po->skb_completion);
	}